Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. 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.


shawn_crockershawn_crocker Member, OS Professional Posts: 790 PRO
I am noticing the configuration string used to pull an items metadata with an API endpoint looks something like this "HEIGHT=0.5334000000000001+meter;WIDTH=0.9144000000000001+meter".  I am also noticing the configuration string used to pull the same items base64 thumbnail image looks like this "PNEEKSKHJBKD2NBWGAZDSNZZGY2TSNRSG43TKNJSGYZCA3LFORSXELBAK5EUIVCIHU2DMMBWGQYTCNBQGI2TIMZYGEYTKOBQEBWWK5DFOJ6Q".  Instead of pulling out metadata just so that I can build a thumbnail end point with that configuration string structure, does anyone know how to convert that first string into the second string using JavaScript?  I'm trying to hopefully build my own thumbnail end point using data that I already have received from pulling out a BOM.


Sign In or Register to comment.