FrozenForms
Novice

Smartforms -Show or hide view based on user or role

I need to put an override button on a form that can only be seen when a particular user or role has the task or form open. What is the easiest way to accomplish this in Smartforms? I figured it would be easier to control the visibility of the view rather than the control but I could be wrong.

 

Thanks

 

Dave

0 Kudos
Reply
3 Replies
AhmadAbdullah
Apprentice

Re: Smartforms -Show or hide view based on user or role

Dear ,

 

Easiest way would be to add an advanced condition into "view initialize method"

If CurrentUser=ur particular user 

show/hide the controls u want 

 

Hope it helps!

Regards.

Reply
FrozenForms
Novice

Re: Smartforms -Show or hide view based on user or role

I was looking into that. It looks like you can get to the Current User system value but you cannot pick a different user from the context menu. Are you saying that if I set it up to If Display Name = "First Last" name it will work?

0 Kudos
Reply
FrozenForms
Novice

Re: Smartforms -Show or hide view based on user or role

That worked perfectly thanks!

0 Kudos
Reply