RECENT ARTICLES
latest dynamics 365 interview questions
Q. How to pass extra value in custom page in power apps?Ans: Generally in pageInput we can define four parameter like pageType,name,entityName,recordId. But in real senarion if we want to share extra value then we can use in pageInput parameter itself.Example :var pageInput = { pageType: "custom", name: customPageName, entityName: executionContext.data.entity.getEntityName(), recordId: currentRecordId + "$" + recordName ; };Above value you can retrieve in custom page onStart function like below...…Q. How to pass extra value in custom page in power apps?Ans: Generally in pageInput we can define four parameter like pageType,name,entityName,recordId. But in real senarion if we want to share extra value then we can use in pageInput parameter itself.Example :var pageInput = { pageType: "custom", name: customPageName, entityName: executionContext.data.entity.getEntityName(), recordId: currentRecordId + "$" + recordName ; };Above value you can retrieve in custom page onStart function like below...WW…
How to filter regarding entity in dynamic CRM using JavaScript
//filter regardingfunction regardingFilter (executionContext) {var formContext = executionContext.getFormContext();var regarding = formContext.getControl("regardingobjectid") ? formContext.getControl("regardingobjectid") : null; if (regarding.getEntityTypes().length >= 1) { regarding.setEntityTypes(['opportunity']); } }Screenshot: After filter:Before filter :… //filter regardingfunction regardingFilter (executionContext) {var formContext = executionContext.getFormContext();var regarding = formContext.getControl("regardingobjectid") ? formContext.getControl("regardingobjectid") : null; if (regarding.getEntityTypes().length >= 1) { regarding.setEntityTypes(['opportunity']); } }Screenshot: After filter:Before filter :WW…
How to redirect tab directly in dynamic CRM using JavaScript
Step 1: Go to form properties.Step 2: click on parameter tab.Step 3: Add one parameter like below var formType = formContext.ui.getFormType(); if (formType === 2) { if (formContext.data.attributes.get("param_focusCaseTab") !== undefined && formContext.data.attributes.get("param_focusCaseTab").getValue() !== null) { var param_focusCaseTab = formContext.data.attributes.get("param_focusCaseTab").getValue(); if (param_focusCaseTab === true) { ...…Step 1: Go to form properties.Step 2: click on parameter tab.Step 3: Add one parameter like below var formType = formContext.ui.getFormType(); if (formType === 2) { if (formContext.data.attributes.get("param_focusCaseTab") !== undefined && formContext.data.attributes.get("param_focusCaseTab").getValue() !== null) { var param_focusCaseTab = formContext.data.attributes.get("param_focusCaseTab").getValue(); if (param_focusCaseTab === true) { ...WW…
- Total 3 items
- 1