Assessment = {
showFormNotification: function(executioncontext){
"use strict";
var formContext = executioncontext.getFormContext();
var message = "Your Assessment Request has been successfully raised !!";
var uniqueIdForInfo = "Shownotification101";
//in milliseconds
var displayTime = 15000;
if(formContext != null)
{
//UniqueId can be used when we need to club this functionality with any other functionality.Example: clearnotification
formContext.ui.setFormNotification(message, 'INFO', uniqueIdForInfo);
//Clear notification: Here Unique Id can be used
setTimeout
(
function()
{
//Clearning only Info form notification
formContext.ui.clearFormNotification(uniqueIdForInfo);
},
displayTime
);
}
}
};
now once the user submits the records, they will be navigated back to home screen or from where they tried creating the form, but i want user to navigate the form view screen [ below screen] ,, irrespective from which page user creates the record,.
i want user ti navigate to this screen
what js code i need to add in my above code, so that once user submits the form, they will be navigating to dynamics 365 view screen.