I’m building a simple Extension app and I need current PageId to update custom code through data api. I can’t seem to find any method documented anywhere. Like we have webflow.getSiteInfo()
to get siteId
, we should also have one for pageId
, right?
Can anyone help me with this? @Support_Support @Admin_Developer
I’m aware there’s a html element with data-wf-page
attribute but it cannot be accessed from Extension app as it is rendered in an iframe, hence cross-origin blocks it.