Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
appvisuals
New Member

Unique id of a custom visual on a page?

I would like to know if its possible to get some kind of unique id for an instance of a custom visual on a page. If the visual is copy/pasted or the page is save-as something else, the unique ID for the new visual would change? Any possibilities?

4 REPLIES 4
RRK
Regular Visitor

Can we use multiple visual unique id's in the same flow?? I am trying to add 3visuals in same pdf. 

v-evelk
Employee
Employee

Hello,

 

Every new copy of custom visual has own instance Id.

I attached below a couple of screens where you can see it.

 

LeftVisual.PNGRightVisual.PNG

 

Kind Regards,

 

Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

Doesn't that InstanceId change every time you refresh the page? I'm looking more for something I can use to identify the visual on the page, not the "current rendering of the visual on the page"

Yes, you are right, this id is changed every time when rendering happens so it's unsuitable for your case.

 

I suppose that it is possible to get an ID using Power BI REST API.

Check this topic please, may be it will help to solve your question

 

Kind Regards,

 

Evgenii Elkin,
Software Engineer
Microsoft Power BI Custom Visuals
pbicvsupport@microsoft.com

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.