Skip to main content
1-Visitor
September 24, 2025
Question

Need help for custom API to link Option Set with Option

  • September 24, 2025
  • 1 reply
  • 419 views

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:

  •  

1 reply

Fadel
23-Emerald I
September 25, 2025
1-Visitor
September 29, 2025

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

Community Manager
October 22, 2025

Hi @AKC_82440,

 

I wanted to see if you got the help you needed.

If so, please mark the appropriate reply as the Accepted Solution. It will help other members who may have the same question.
Of course, if you have more to share on your issue, please pursue the conversation. 

 

Thanks,
Anurag