Hi,
I want to enable the field on the form by checking if the Current User exists in the "Owners" SharePoint Group then make it editable otherwise Read-only. How can I do this in K2 Appit?
Thank you,
Chowdary
Hi,
I want to enable the field on the form by checking if the Current User exists in the "Owners" SharePoint Group then make it editable otherwise Read-only. How can I do this in K2 Appit?
Thank you,
Chowdary
Hi chowdary
Please see below screenshot that possible can assist in what you are trying to accomplice ( If you are still experincing this issue please )
If this was helpfull , please can you click on the drop down and mark this as Accept the Solution
Regards
Hi Heinrich,
Thanks for your help!!
Here I want to check If the current User exists in "Owners" SharePoint group, then make it editable. How to achieve this?
Thank you,
Chowdary
Hi Chowdary
Use the 'Sharepoint Group Service' instance and create a Smartobject using 'SharePoint Groups' in that.
Use 'Get Users in Group' method. Get those values based on the Group Name(Owner) to a hidden listview
Use 'For All Rows' condition and check whether the current user is in the SP group and the make the field editable based on that.
Hope this helps
Nidhin
Hi Nidhin,
Thanks for your reponse!!
I was able to achieve this using "SharePoint Integration Helper Methods" SmartObject and executing IS User in Any One Group method. To find this SmartObject go to System --> SharePoint Integartion --> SharePoint Integration Helper Methods.
Hope this will be helpful to someone.
Thank you,
Chowdary
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.