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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

lookupObjects in a portal form

(0) ShareShare
ReportReport
Posted on by 225

hi

Is there a way to call a lookupobjects-window with a click on a button in portals? I've managed to do this in the dynamics uci with Xrm.Utility.lookupObjects(lookupOptions). But the portal don't support Xrm. Is there a workaround? Just to insert a lookupfield doesn't work, because i need multiselect.   

  • LeoAlt Profile Picture
    16,341 Moderator on at

    Hi partner,

    I recommend you to create a custom html to show the lookup view in portal.

    Add a JS function to open a pop up window to show the lookup view on the onclick action of the lookup field in portal.

    After choose the record we need, then pass the record id and label back to portal form.

    Best Regards,

    Leo

  • Ar0x Profile Picture
    225 on at

    Is the Xrm.Utility.lookupObjects(lookupOptions)-function working on a custom html?

  • CJustin Profile Picture
    262 on at

    This would help you to create Lookup portal in Microsoft D365.

    https://www.inogic.com/blog/2018/06/show-lookup-dialog-in-dynamics-365-v9-0/

    You could build a html page and add a js script to display the lookup portal.

    I hope this helps!

    Regards.

  • Verified answer
    LeoAlt Profile Picture
    16,341 Moderator on at

    Hi partner,

    Xrm is only supported in D365 instance, not in portal.

    You could use JS or Jquery to create custom html in portal and use Odata to get all lookup records in portal.

    community.dynamics.com/.../705481

    Regards,

    Leo

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 Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
11manish Profile Picture

11manish 48 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 45

#3
Ayesha Wajahat Profile Picture

Ayesha Wajahat 18

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans