web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

costumize standard form based on sitemap

(0) ShareShare
ReportReport
Posted on by 30

Hi,

I use for example the contact entity for multiple groups (customers contacts and candidates (recruitment)), I have designed multiple forms and views fitting with the group. I have insert these groups in the sitemap.

Example:

Candidates
Candidates (entity contacts)

Customers
Customers (entity contacts)

Is there a way the set the default view and form? So for example when you click on candidates dynamics will give the candidates view.

Thanks.

Regards,

Rory

I have the same question (0)
  • M.Azwar Alam Profile Picture
    on at

    Hi ,

    You can open form according to security roles. Following link might help you

    docs.microsoft.com/.../assign-security-roles-form

    Mark answer as verified, if it is feasible for you

  • LuHao Profile Picture
    40,892 on at

    Hi Rory,

    Unfortunately, it is impossible to set different default views and forms for different areas within the site map.

    We can only choose the security role visible to different forms, but this method is not suitable for your scenario.

  • Verified answer
    Miguel Lourenco Profile Picture
    Microsoft Employee on at

    Hi Rory,

    I believe I've managed to do this at least in UCI. I went to the sitemap and changed it to:

    pastedimage1581708527571v1.png

    Being the url:

    /main.aspx?pagetype=entitylist&etn=account&viewid={61273827-328E-E011-95AE-00155D9CFA03}

    Of course you need to change to contact and replace the guid with yours view's id.

    Now, when you click on any record a form will open and inside that form, you can add a javascript onload event. In that function you will check if the record is a candidate or a customer.

    based on that criteria you can:

    view all forms you have available:

    https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/formcontext-ui-formselector

    and finally navigate to which one you want:

    https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/formcontext-ui-formselector/navigate

    hope it helps!

  • Verified answer
    CRMJetty Profile Picture
    3,514 on at

    Hello Rory,

    Greetings of the day!

    In regards to your concern, You will need to set only one default view,

    Steps to set default view:
    1.Go to settings -> Customization -> Customize the system
    2.Expand entity from components -> Click on views
    3.From list of views select your view & click on "More Actions" -> "Set Default"

    Also, kindly find the Reference link for set default form: https://carldesouza.com/set-default-form-order-dynamics-365/

    I hope it helps! Let me know in case of any other concern.

    Kind Regards,

    CRMjetty

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

    DynamicsCRM Customer Portal for Wordpress

    Dynamics CRM Customer Portal

    Dynamics CRM Customer Portal

    Dynamics CRM Customer Portal

  • Rory - Work2B Profile Picture
    30 on at

    This is a partial solution for at view, when I understand correctly there is no solution for the forms

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 140 Super User 2026 Season 1

#2
Nagaraju_Matta Profile Picture

Nagaraju_Matta 128

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans