Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
In what ways do update and persistProperties affect or trigger each other?
[custom visual question]
Two specific questions are:
1) Is this assumption correct?
This seems like what is supposed to happen, however I notice in some cases the actual behaviour is different or odd/unusual. It seems either my understanding is incorrect, or there are exceptions where this does not happen.
2) What is the expected behaviour of merge and replace for the persistProperties method?
For example, these points are not clear:
Any comments are appreciated, thank you.
Hello @Cubist,
Please let me know if you any further questions.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Thank you, I will mark you answer correct. One more question please:
>>What for do you use persistProperties?
Because I have an input field on the visual, that the user can type directly into. When the user types a value into an input field on my visual, isn't this the only way to save the value?
Thank you -
There's no another way to keep users' input in such cases.
You should use persistProperties.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
22 | |
2 | |
2 | |
2 | |
2 |