Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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
User | Count |
---|---|
15 | |
2 | |
1 | |
1 | |
1 |
User | Count |
---|---|
18 | |
11 | |
5 | |
4 | |
3 |