user-defined rules
Posted by Katerina - Apr 29 ’14 at 10:43
Hi,
Is there any way to hide the tabs of a form according to user permissions? I need to have all users see only 2 of the tabs of the form and admins see all of them.
Any help appriciated
Thanks,
Katerina
-
Dmitry KozlovAdminMember for: 9 years 8 months 7 days
Hello Katerina,
Sure, please, use groups functionality. You can create a unique form for each group of users with Forms Designer. So, in your case, create a separate group for Owners and design a form with all fields for this group. Next, switch back to All users and design a form with 2 tabs only. Get more info:
-
KaterinaMemberMember for: 9 years 29 days
Hi Dimitry,
Thanks, that was very helpful. I have an other question can you do cascading lookup using SP Forms?
Thanks,
Katerina
-
Dmitry KozlovAdminMember for: 9 years 8 months 7 days
[#2]: You can configure cascading lookups with help of both Forms Designer and Cross-site Lookup. Please, find the instruction in the following post:
http://formsdesigner.blogspot.com/2013/07/cascading-drop-downs-with-cross-site.html
-
KaterinaMemberMember for: 9 years 29 days
Hi Dimitry,
Thanks for the reply. It answers my question in full.
Katerina
-
KaterinaMemberMember for: 9 years 29 days
Hi Dimitry,
Something I didn't clear out on my previous messages is that I am using SharePoint 2010. Can I use cross-site lookups and cascade lookups on SharePoint 2010?
Thanks,
KAterina
-
Dmitry KozlovAdminMember for: 9 years 8 months 7 days
[#5]: Hello,
Unfortunately, Cross-site Lookup doesn't support SharePoint 2010. I would recommend to use SPServices instead:
http://spservices.codeplex.com/wikipage?title=%24().SPServices.SPCascadeDropdowns
http://forum.spform.com/forms-designer/how-to-use-spservices-framework-with-fd-27/
-
tjon.kimMemberMember for: 8 years 1 month 10 days
[#1]: Hi Dmitry, we are on Forms Designer 2.8.9 and have a group of forms that don't seem to work. The user defined rule is
ContainsCurrentUser([Assigned To]) || ContainsCurrentUser([Delegated To]);
Any idea what might be wrong? Also, the two fields are client people picker fields in SP 2013. Thanks in advance.
-
Dmitry KozlovAdminMember for: 9 years 8 months 7 days
[#7]: I've just verified your formula and it seems that it's working properly. Please, ensure that the fields are populated properly, check the type of form, the content type and the fields names. Do you have other groups of forms?
-
nazrinMemberMember for: 6 years 7 months 15 days
Hi,
Right now, I want to have 2 type of group e.g. All User and Team Leader.
The Team Leader group able to see additional button "Approve" and "Reject". For All User, they wont see the button.
Hence, I created the User Defined Rule named "Team Leader" and set the formula:
ContainsCurrentUser([Team_x0020_Lead])
Note: Team_x0020_Lead is the internal name for Team Leader column.
However, it does not work.
Did I miss something? Appreciate your advise.
Thanks..
-
Dmitry KozlovAdminMember for: 9 years 8 months 7 days
[#9]: Please, note that the rules work during the form's initial loading, not while editing field values. Have you tested the case in Edit or Display forms?