USD - Close Event of a Hosted Control - dynamics-crm

I have created a Hosted Control with following configuration:
Unified Service Desk Component Type: CCA Hosted Application
Hosted Application: Hosted Control
I want to perform some action on the closure of this hosted control inside Unified service Desk but I am unable to find any Close event for this type of configuration.
Is it possible for me to create my own custom close event?
I am using USD 4.1 and CRM 8.2

You need to create a new event record. Some of these pre-defined events (such as Close) are not created by default.
Create a new event, name it Closing and populate the Hosted Application field to the Hosted Control you want it to fire on. Make sure you add it to the Configuration record you are using as well before you try it!

Related

Wakanda Progress Indicator from Angular client

Looking for client side details / documentation on how to access the Wakanda server side progressIndicator details from an Angular application.
I find the latest server side docs on progressIndicator, but nothing on how to access these from the client.
In the old days of WAF, the communication was handled via the widget. I'm rewriting clients and do not find any documentation on the client side.
Thanks
In V1, WAF offers a widget to periodically connecting to the server using the name of progress indicator as the reference.
In V2, the progressIndicator is available in REST API via rest/$info/ProgressInfo.
The call to {ServerIP}/rest/$info/ProgressInfo will return an array of current progress indicators on the server side. Each object represents an active progress indicator containing information like value, max, start time, etc.
Below is a quick example of calling rest/$info/ProgressInfo with the example code from Wakanda doc. The two calls are about 5 seconds apart:
Notice the fValue has been updated on the server. The developer can check for the updated value periodically and present it in customized progress bar, tag or progress bar from libraries like Angular Material.
Hope this helps.
Updated Requirements for $info:
When Wakanda server is in Controlled Admin Access Mode, $info is only available to users in Admin group, this requires the user log in and have an active session that belongs to admin group. This is documented in $info doc page.
The Controlled Admin Access Mode is not implemented in 4D Web server so $info will always work when sent directly to 4D. But this is highly not recommended because you will not be able to manage sessions and each REST call will consume a new client license.
In order to use progress indicator via $info in your Wakanda app, I would recommend considering disabling Controlled Admin Access Mode by implementing custom authentication using login listeners.Or, use getProgressIndicator() in RPC/Dataclass methods to implement a new REST access to display progress indicator to all users.

How to add a property in ServiceNow which calls REST API of another application for look up?

I have an application (JAVA application running on tomcat) which has SACM and ITSM modules similar to servicenow. From my application I am calling servicenow APIs to look up data and create new records in servicenow. Does servicenow allow it vice versa?
Something like add a new property Associated CIs in Incident module, which will be a look up and on search it will make a rest call to my application get the result and show.
Is it possible ? If so how?

Creating a separate web portal which manages custom entities inside dynamics365

I have an assignment which manages some custom entities of dynamics365 sales application. Is it possible to create a separate web application which resides in dynamics365 sales portal?
The web portal will have 5 to 6 menus and various forms with edit update delete, paging, sorting, searching. All the operations will be done in custom entities of the dynamics365.
Too broad. Possible.
for web application - Need to do custom development using metadata messages in SDK. Can host it separately.
https://msdn.microsoft.com/en-us/library/gg509014.aspx
Inside crm portal - this is not a typical requirement inside portal solution, so am doubtful. But still Asp.net page template is not available like adx in 365 yet.
https://readyxrmblog.wordpress.com/2017/03/14/liquid-markup-in-dynamics-365-portals-part-1-hello-world/
Other possibilities:
If we want to go with custom code inside webform: similar discussion
My wild guess - May be you can go with navigation link for your web app from portal.

push notifications in Xamarin

Current Working implementation : We have implemented notification through custom code in Xamarin.Forms as below:
On Resume of the application, we check certain conditions through Web API (Web API checks a flag in the SQL Server Database). If the conditions are met, We Open a display alert which is our notification.This is more of a polling Approach to the backend.
Rather than above, We want a Push notification from the backend to the Xamarin.Forms/Android/IOS whichever works.
Note : We are not using Azure anywhere, Both our WEB API and Backend host(SQL SERVER Database) are on premise.
I have used this approach in other projects:
Android GCM:
https://developer.xamarin.com/guides/android/application_fundamentals/notifications/remote-notifications-with-gcm/
iOS:
https://developer.xamarin.com/guides/ios/application_fundamentals/notifications/remote_notifications_in_ios/
I have followed those guides and they have worked before, hope this helps.

Cannot create a Parse account

I can not find a SignUp Button or a register button on parse. Is it possible new users to register on the site? All I want is to save an android data to a cloud/server with very simple way.
Yeah, You cannot currently setup a new account with Parse.com. This is because the entire platform offering is being shutdown.
They have however open source a majority of the technology behind the platform.
Visit https://github.com/ParsePlatform/parse-server for how to setup your self-hosted instance of the parse-server.
You can however check out http://firebase.com. Their offering is similar to Parse
Goodluck

Resources