valeriefoxdigi avatar image
valeriefoxdigi asked

Power Apps - Collection Data not retrieved properly from custom connector

Hi there,

I am trying to create the PowerApps sample app provided in the documentation on the Fusion Creator Dev platform.

I have created the 3 custom connectors, including ConsumerProfile calling the Consumer Profile FFDC API. Test goes well: consumer requests returns all the details of one consumer including first name, last name, dob, address, email address, phones...

On PowerApps, the datasource ConsumerProfile is present, and my screen's action is "ClearCollect(CustomerData, ConsumerProfile.consumer())" on visible. When I go to View Collections though, CustomerData only has 1 line and 3 attributes only: Text (empty), CoreIdentifications (empty) and dateOfBirth (only one filled in with correct value). Therefore, on my screen, I cannot display the firstname or lastname of the consumer as this field does not exist in the collection.

Any chance someone has an idea of the issue?

10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Laurent Chollet avatar image
Laurent Chollet answered

Hi Valerie,

please first test this endpoint directly at custom connector side, section 4.test

to check it returns the expected data with user ffdcuser1 (check also the video )

Then, when calling ClearCollect(CustomerData, ConsumerProfile.consumer()) with a alive connection, it should create a collection CustomerData you can visualize in Collections.



1560843439458.png (30.5 KiB)
10 |600

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Thanks a lot Laurent! I will try that today.

0 Likes 0 ·

Actually, I have done the test on the custom connector side already, I do get all the information about Sally Hermitage, dob, adresses, phones... I will check the video...

0 Likes 0 ·

Re-created all the custom connectors, connections and link to PowerApps, it seems to work now... !

0 Likes 0 ·