Search the FirstSpirit Knowledge Base
Hello,
Currently I am creating Tool bar Plug-in and I need to retrive the value from the Project Setting (Please see the attachment for more information).
Is it possible to access the Project setting from ToolbarContext ??
Regards,
Vasandharaj M.
Hello,
try this:
StoreAgent storeAgent = context.requireSpecialist(StoreAgent.TYPE);
GlobalStoreRoot store = ((GlobalStoreRoot) storeAgent.getStore(Store.Type.GLOBALSTORE));
ProjectProperties projectProperties = store.getProjectProperties();
Best regards
Tim
Hello,
try this:
StoreAgent storeAgent = context.requireSpecialist(StoreAgent.TYPE);
GlobalStoreRoot store = ((GlobalStoreRoot) storeAgent.getStore(Store.Type.GLOBALSTORE));
ProjectProperties projectProperties = store.getProjectProperties();
Best regards
Tim
Hello Vasandharaj,
do you need further help or did Tim's reply already help you? In this case it would be great if you mark his "correct answer".
Best regards
Michaela