cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Translate the entire conversation x

Need help for custom API to link Option Set with Option

AKC
13-Aquamarine
13-Aquamarine

Need help for custom API to link Option Set with Option

Version: Windchill 13.0

 

Use Case: I have created a custom API to create Option, Choices and option set by providing respective inputs. I have observed that, after creation, option has been persisted in Windchill with linked choices. Also newly created option set is associated with specific container. So far it is fine. However I am looking for custom API to link Option Set with Option. Can anyone help me on this ?


Description:

  •  
2 REPLIES 2
Fadel
22-Sapphire III
(To:AKC)
AKC
13-Aquamarine
13-Aquamarine
(To:Fadel)

Hello Fede,

 

Thank you very much for your reply. I understand that linking option with Option Set will not be supported.  I am trying to link choices with existing option set, however it is not getting linked. I am checking out the option set and linking the choice something like below...

 

OptionSetMemberLink memberLink = OptionSetMemberLink.newOptionSetMemberLink(workingOptionSetCopy, choice);
PersistenceServerHelper.manager.insert(memberLink);

Any tips on this linking would really help me a lot.

 

 

Regards,

AKC

Announcements
Top Tags