Skip to main content

Hello All,

 

I am a newbie to K2.

 

I have created a separate smartobject from SQL table for users. I want a certain tab to b visible to all the users in the list.

 

Please could you let me know how to achieve this?

 

Many thanks,

 

Regards,

 

S

Please see the attached, this should get you there. There are many ways to make this scenario work, this is just one.

HTH
Vernon

Hi


 


You mentioned that you have a SQL table containing the required users. This makes it easier.


 


You could try the following:


Hide the tab by default


Create a Form Parameter (Number) with a default value of 0


Add an Initialized rule to look up the current users FQN using an "Execute SmartObject Method" - GetList against your table and assign it’s ID to the Parameter


Then add an Advanced condition to check if Parameter is bigger than 0 with a show Tab action


If the condition passes, it would mean the user was in the SQL table and the Tab will show.


If the condition does not pass, it would mean the user was not in the SQL table and the Tab will remain hidden.



Hope that helps.



Regards,
Thinus


Many thanks Vernon and Thinus. Both your responses were very very helpful.

 

Many thanks for the wonderful support!!!!


Reply