Closed swiecaJS closed 8 months ago
Hello @swiecaJS,
I'm not sure why do you use setProperty in this case. Are there any reasons to do so?
Usually you can simply change the value of the setting directly in getFormattingModel. Please, take a look on this documentation
@AleksSavelev my reports are embedded on a webpage with the use of powerbi-client
library.
setProperty
is a part of power bi client API, see documenation
To have a clear reproduction step
pbiviz create
setProperty
Oh, I see. Could you, please, contact us on email pbicvsupport@microsoft.com and describe this issue one more time. Support guys will add the responsible team to the discussion.
I'll close the issue as it's not related to the tools itself, but feel free to contact the support email with any questions.
I want to set the border on my custom-built visual programmatically. It works perfectly when changed via powerbi web app (or desktop)
However, as soon as I try to use
powerbi-client
library I get an error. The same code works without an issue on the build-in visuals.My code:
Error message:
The same behavior happens with the blank new visual created through
pbiviz new
, making the error easy to replicate. powerbi-client repo does not accept the issues, so I am leaving an issue here, because I believe the problem lies somewhere at the intersection