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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Portal Form and lookup

(0) ShareShare
ReportReport
Posted on by 135

Hi

I have a portal form that populates a field from lookup. Lookup displays product_id, product_description and product_family on clicking the lookup icon on portal form in a popup. On selection of a row from the popup it brings product_id into the portal form.

Is there a way to show on the portal form product_description + product_id + product_family. I still would like to send back product_id to the back end crm on submit.

Thanks for your help

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at

    Hi,

    I am assuming you are talking about portal entity form, you can use JS to retrieve related fields based on the ID, you can use entity list OData feed or can have a web template where you can use liquid to use fetchxml to query data based on the primary field and get related fields.

    Let me know if my understanding is not correct.

    Hope it will help you.

  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    You can use an OData query and jquery from your Portal code to retrieve the other values that you need from that entity, and using the id of the lookup results from the lookup control.

    In order to use OData you will need to create and Entity View, and make sure the OData checkbox is checked.

    If there is no need for you to retrieve multiple values, I would recommend setting the number of records to display to one.

    Hope this helps.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans