Walekumassalam Amik,
Thanks for your quick reply, Yes Its not at all navigating to the Custom page.
I have added the custom page to my solution and i am using the logical name of page and in my javascript too.
I am adding the script and configuration please check and let me know any mistake in that.
Yes, i do have tested by passing the static values of Entity and Record GUID that doesn't work either.
function openPageInlineWithContext(pageContext){
var rec = pageContext.data.entity.getId();
var record = rec.replace(/[{}]/g,"");
Xrm.Navigation.navigateTo({
pageType: "custom",
name: "crc21_page1_c7470",
entityName: pageContext.data.entity.getEntityName(),
recordId: record },
{ target:2,
width: 780,
height: 500,
title: "Upload Onboarding Documents"}
).then( function () { // Handle error }
).catch(
function (error) { // Handle error } );
}
This is my configuration and parameter passed as PrimaryControl.
