Forum Replies Created
-
AuthorPosts
-
Alex, could you also take a look at the visibility of the edit icon? Users with only view permissions of the child list have the edit icon and get access denied when they click on it. In previous versions I thought the icon was visible/hidden based on the child list permissions?
No problem. Thanks for all that you do!
Thank you! Is there any temporary work around you can think of with my current versions?
I made changes to my rules to work with the new version but the scenario was.
I had a form ready rule that set fields hidden based on a group id. Then I had subsequent rules that made some of those fields required and additional rules that eventually made them visible. As soon as they became required they became visible.
It was probably a bad setup and my rules are actually cleaner now and the form is functioning as it did before the upgrade.Yes, it is working now with apostrophes. I don’t think I’ll have an issue with duplicate display names so I think I’m good to go now. Thank you!
This above works most of the time but I still have an issue with some users. What I need to be able to do, if possible, is upon selecting a user from the list is set the field value to the Name or EMail of the selected instead of the title. When I debugged I could see that data in the results array but couldn’t figure out how to use it to set the field value. People with apostrophes in their name cause issues with my current workaround.
As a temporary fix I am executing a function on form save to set the value.
function resolveAC(){
var p1 = getFieldValue(“PeoplePicker”);
setFieldValue(“PeoplePicker”,p1);
}I spoke too soon. It renders on the form as expected but the selected value is not saved in the People Picker.
I figured it out!
PERFECT! Thank you!!
I tried with the new version with the same results. Below is the code I am using for reference. Maybe I have one thing out of line that is causing the behavior?
Person is a Person or Group type field; allow multiple selections = no; allow selection of = people only; Choose from = Person Group; enforce unique values = no
spjs.ac.peoplePicker({
“applyTo”:”Person”,
“forceOn2013”:true,
“helpText”:””,
“showField”:”Title”,
“enforceUniqueValues”:false,
“chooseFromUserGroup”:”Person Group”,
“showUsersOnly”:true,
“rowLimit”:20,
“listOptionsOnFocus”:true,
“reValidateOnLoad”:true,
“setFields”:[]
});1.6.28
Thank you! I’ll take a look at that and give it a try.
It was just a typo in the blog post. I copied the function from the documentation and changed false to true. When I click into the control nothing happens until I start typing. I appreciate you looking into it!
It works but you must know a portion of the target user’s name or email address. Setting listOptionsOnFocus to true doesn’t change the behavior. My hope was that if that was set to true when you click into the control it would show the first [rowlimit] number of users in the group to select from.
-
AuthorPosts