Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi, i'm completly new to the development of Custom Visuals. I'm trying to modifing an existing visual, Force Direct Graph.
Here is the link to the official repo: https://github.com/Microsoft/powerbi-visuals-forcegraph/
I'm encountering API problems when "pbiviz packge" is used. (related image)
I've tried to change the API from 5.3.0 to 2.3.1 but it has resolte in another error 'API should be 4.7.0 or higher'.
Even though i've faced this errors the package was create but is not visibile at all on power bi desktop.
Have been reased this error for the "Format Pane" but while using "pbiviz start", i only encounterd the API error but even tough the error still it is visible and usable. I don't know why.
Maybe the problem is only related to the API?
Does anybody have face the same issue? How can i fix it? Thanks in advance for everybody that is going to help me with it🙏
Solved! Go to Solution.
Hi @E3_DLC
If you want to use an API version lower than 4.7.0, you will either need to:
Option #1 will probably be the lowest barrier to entry, but you will have significantly less problems, maintenance-wise, if you go for option #2, as there will be no support from MS if going with option #1 - they will likely tell you to migrate tools, API and codebase first before they can provide any specific assistance if you're having trouble.
Hopefully some of this will be useful. Good luck!
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @E3_DLC
If you want to use an API version lower than 4.7.0, you will either need to:
Option #1 will probably be the lowest barrier to entry, but you will have significantly less problems, maintenance-wise, if you go for option #2, as there will be no support from MS if going with option #1 - they will likely tell you to migrate tools, API and codebase first before they can provide any specific assistance if you're having trouble.
Hopefully some of this will be useful. Good luck!
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Thank you @dm-p !
Your advice helped me to fix my problem.
If i have to do a porting from the older API to the newst, what i need to do? Do you have any documentation about it?
Hi @E3_DLC - you would need to enable/update the API, see what breaks, and make the necessary remediations. I don't have any documentation, but the two things that stick out from memory for the MS APIs are:
If you are planning to modernize any of the other packages, you will need to refer to the change logs of those libraries to see what the breaking changes and migration paths are.
Cheers,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.