Suppose we have below Account’s Quick View Control on contact entity.
Now to access the email address attribute we can use the below Jscript on the Contact’s form onload event.
The result à email address field is hidden in the quick view form.
Hope it helps..
Hi Nishanth,
we had requirement to make fields editable on quick view form, So I followed your approach and tried below but it’s not working:
var quickviewcontrol= formContext.ui.quickForms.get(“logical_name”);
quickviewcontrol.getControl(“logical_name”).setDisabled(“false”);
I was able to make it as required, which seems to work as field is marked as mandatory (* in red)
var quickviewcontrol= formContext.ui.quickForms.get(“logical_name”);
quickviewcontrol.getControl(“”).setRequiredLevel(“logical_name”);
Can you let me know if we can mark fields as editable in quick view.
Regards,
Persis
LikeLike
Don’t think it is possible to have field editable in quick view form, try out form component https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/form-component-control#add-the-form-component-to-a-table-main-form?WT.mc_id=BA-MVP-5003692
LikeLike
thanks for the quick reply. yes, we have added form control and working on automatic record creation for that entity.
LikeLike