esteimle - Thursday, January 12, 2012 5:41 PM:
I finally got my BOM object to populate itself with my CIP parts under another Innovator part. I have an interesting problem though. On start up when I click on the part, and click on the CIP_BOM tab nothing loads. But it I load the part again all the parts load fine after that.
Now if I change the ID returned from the CIP_BOM request it never shows up, only after that ID has been used once and it comes up blank do my parts show up the next time.
Here's my CIP_BOM request / response from my onGet function:
----------------------- Request from Innovator ----------------------
esteimle - Thursday, January 12, 2012 6:09 PM:
Well turns out even though I set my item type to CIP Part BOM:
bom_item.setType("CIP Part BOM");
I also have to do this:
bom_item.setAttribute("typeId", " 74B6F95348AA4DE3B84F89D45E3ED56D");
That's the item type ID of the CIP Part BOM item.
After that it seems to work, I can send in random IDs as long as I set that typeId attribute.
-Eric