Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Need help extracting my Drawings microversionID

Need help..I embedded a web app to onshape as an Iframe via Oauth...
In the extension tab I added the below string to my Action URL
?did={$documentId}&wv={$workspaceOrVersion}&wvid={$workspaceOrVersionId}&eid={$elementId}&mid={$microversionId}
It's supposed to extract the parent Onshape URL's did (documentId), wv (workspaceOrVersion), wvid (workspaceOrVersionId), mid (microversionId), and eid (elementId)
It's able to extract these parameters inside Part Studio, and Assembly without any problems, but when I open it in drawings, I am not able to extract the mid (microversionId).
Comments
Weirdly microversionId is not in the "supported" listed for element right panel:
https://onshape-public.github.io/docs/app-dev/extensions/#element-right-panel
But maybe put in an improvement request for it to be supported.
Until then, if you just need the current microversion, you can get it with this endpoint:
https://cad.onshape.com/glassworks/explorer/#/Document/getCurrentMicroversion
Custom FeatureScript and Onshape Integrated Applications