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 365 | Integration, Dataverse...
Suggested Answer

Accessing Page Attribute through PCF Component.

(0) ShareShare
ReportReport
Posted on by 5

Hi Guys,

I'm developing a PCF component that will take an attribute from the Contact's Page and once the customer clicks on a button (inside PCF component), I should request a third-party service sending that attribute as a parameter in order to process the response accordingly.

I didn't find a way to do that, so I would really appreciate your help. Is the PCF the good fit for this solution, or should I go with Web Resources? Here is the simple schematics:

pastedimage1617299412768v1.png

Thanks in advance.

Best,

Jeff.

I have the same question (0)
  • Suggested answer
    Diana Birkelbach Profile Picture
    140 Most Valuable Professional on at

    Hi Jeff,

    The PCFs of type field gives you the possibility to bind one or more atttributes to the PCF (you need at least one bound property). 

    Using the properties, you can implement your own request.

    Maybe this example from the PCF-docs will help you further: https://docs.microsoft.com/en-us/powerapps/developer/component-framework/sample-controls/increment-control?WT.mc_id=BA-MVP-5004107

    Hope this helps!

    Kind regards,

    Diana

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 365 | Integration, Dataverse, and general topics

#1
iampranjal Profile Picture

iampranjal 41

#2
Martin Dráb Profile Picture

Martin Dráb 36 Most Valuable Professional

#3
Satyam Prakash Profile Picture

Satyam Prakash 35

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans