cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
OOlashyn
Super User
Super User

[BUG] - updatedProperties didn't show correct data in harness

Hi All,

 

I just noticed that context.updatedProperties didn't show correct values in harness. For example - we have a data-set component. When we update it in harness with our local data despite updateView function is triggering context.updatedProperties doesn't contain data. In production however, when data-set is updated it showed correctly in context.updateProperties.

----------------------------------------------------
If you find this post helpful consider marking it as a solution to help others find it.
1 ACCEPTED SOLUTION

Accepted Solutions
jopursle
Power Apps
Power Apps

Hi @OOlashyn ,

 

It is a known gap that updatedProperties will only populate in Model, not in either the harness or Canvas.  For Canvas PCF support of updatedProperties, it is tracked by work item 1542814 but no word on support in the harness.

View solution in original post

6 REPLIES 6
v-monli-msft
Community Support
Community Support

Hi @OOlashyn ,

 

Could you please take a screenshot of your issue?

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jopursle
Power Apps
Power Apps

Hi @OOlashyn ,

 

It is a known gap that updatedProperties will only populate in Model, not in either the harness or Canvas.  For Canvas PCF support of updatedProperties, it is tracked by work item 1542814 but no word on support in the harness.

View solution in original post

Hi @jopursle ,

Thanks for your response.  I think this is a very interesting feature and being able to utilize it in harness for testing and more predictable development would be really nice.

----------------------------------------------------
If you find this post helpful consider marking it as a solution to help others find it.
aggggg1
Frequent Visitor

I just wasted an hour trying to figure out why this was empty in the test harness.  Any word on when then test harness will be fixed?

jopursle
Power Apps
Power Apps

As a followup on this item, updatedProperties will now be populated in Canvas as well as Model.  Still no update on the test harness though.

HemantG
Power Apps
Power Apps

@haileyhuber FYI for test harness gap. 

 

 

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,803)