Page 1 of 1

find specific set of Projects with main navigation button

PostPosted: Wed Jan 27, 2016 1:41 am
by Regine
Hi John,

I want to restrict the project access for users based on the department field I have added to the project.
I have added security Privilege Sets with the same names as the values in the department field in the Model file.

The access as such is working fine and I also added some steps in the "Go to Project" script so that the user gets automatically presented with the projects they have access to.

However the window ends up in the Find Panel at the end and I am not sure how to get it to stay in the View Panel?

I have attached a screen shot of my script amendments.

Please could you kindly assist here.

Thanks

kind regards

Regine

Re: find specific set of Projects with main navigation butto

PostPosted: Wed Jan 27, 2016 11:51 am
by DanW
Hi Regine,

Thanks so much for reaching out on this, and for including a screenshot of your script. Sounds like a great modification!

I did some testing to confirm, and the solution should be a simple one. Rather than directly calling the "Go To Object" script step after performing the find, use the script "Call Go To Object [ ObjectName ]" in a Perform Script step, and pass the panel name as the script parameter. This should cause the layout to appropriately end up on the expected panel, rather than the find panel.

Let me know if this works for you, or if you have any other questions!

Dan
[email protected]

Re: find specific set of Projects with main navigation butto

PostPosted: Wed Jan 27, 2016 7:12 pm
by Regine
Thanks Dan, that has solved the problem!

kind regards

Regine