Home › Forums › Classic DFFS › List with multiple categories/sub-categories
Tagged: general topic
- This topic has 3 replies, 2 voices, and was last updated 8 months, 4 weeks ago by
Alexander Bautz.
-
AuthorPosts
-
-
July 11, 2025 at 21:21 #38744
I have a list that has multiple categories/sub-categories. My SharePoint site is open access and anyone can submit an IMR however I need to restrict certain categories/sub-categories to a certain group. Meaning only that group can submit those two categories and if anyone from the primary group selects the link, they receive an error message. Is this possible?
-
July 12, 2025 at 08:04 #38745
I’m not 100% sure I understand what you mean, but to hide options in a dropdown select from users not member of a specific group you can use a rule that triggers on SharePoint group membership: Logged in user is NOT member of group and in the Run these function / Evaluate these rules section you type in the function name of the function (hide_dropdown_options).
Add this function to your Custom JS and replace “ChoiceColumn1” with the internal name of your choice field. Look at the example in the function and change the array of options to hide.
function hide_dropdown_options(){ const fieldInternalName = "ChoiceColumn1"; const optToHide = ["Option 2", "Option 3"]; document.querySelector("#dffs_" + fieldInternalName).querySelectorAll("option").forEach((opt, index) => { // console.log(opt.index, opt.value); if(optToHide.includes(opt.value)){ opt.style.display = "none"; } }); }Alexander
-
July 18, 2025 at 14:49 #38746
My Inquiry List is broken out into individual links that users select based on the question.
For example: Accountability Matrix Updates http://sharepoint3.companyname.com/sites/PPC/Lists/InquiryList/NewForm.aspx?Category=166
I currently have two membership groups (Submitter and Responder) and now I need to add a third membership group (PMO).
I am using the rule that triggers on SharePoint group membership: Logged in user is NOT member of group as well as SharePoint group membership: Logged in user is member of group.
Users in the Submitter group can select the individual links however there are three individual categories/links that I am trying to restrict to the third membership group so they are the only ones that can submit those three categories.
Is this possible?-
July 19, 2025 at 09:17 #38747
Hi,
Can you email me some screenshots so I’m 100% sure what you mean by “Categories/links”?You can find my email address in the contact tab at the top of the page.
Alexander
-
-
-
AuthorPosts
- You must be logged in to reply to this topic.