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 :
Customer experience | Sales, Customer Insights,...
Unanswered

How to create a funciton to filter Products in Orders?

(0) ShareShare
ReportReport
Posted on by 20

Hey everyone.

Basically, ALL my products are from an ERP and my products are specific for each customer. Each product has a Customer Number associated.

I have a JS Function to get the customer financial detail when they choose the Customer. 

I was trying to do the same but for products.

The problem is that I cannot use the 

"Xrm.Page.getAttribute("FieldName").getValue();"

Because when you want to create a new item, it will redirect you to a new page and you can not get the attribute "productid" or any other field...
I wastrying something like this:

https://www.youtube.com/watch?v=sr4H1hTfRIQ

Any hints or tips?

I have the same question (0)

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 72 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 29 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans