How to add an group created using a!createCustom group programmatically to an Application

Hi,

I created a group using a!createCustomGroup sail component and wanted to add the created group to an Application say XYZ App.How do we add this group pro-grammatically using SAIL code?

Any functions available?or Any Samples?

Cheers
RajHasti

OriginalPostID-250653

  Discussion posts and replies are publicly visible

Parents
  • I don't think there is any built-in function to add an object to an application. However, there is a Java API to do so. But I see a problem here - the a!createcustomgroup smart service will create the group asynchronously, and after that you want to add the group in the application. We can use onSuccess - but I am not sure if you can use another smart service call inside onSuccess
Reply
  • I don't think there is any built-in function to add an object to an application. However, there is a Java API to do so. But I see a problem here - the a!createcustomgroup smart service will create the group asynchronously, and after that you want to add the group in the application. We can use onSuccess - but I am not sure if you can use another smart service call inside onSuccess
Children
No Data