New answers tagged

0

The SharePoint People Picker will only show users from the user sources that are enabled for the current web application's zone. So if you enabled FBA but removed unchecked Windows Authentication (for instance to only allow FBA users to sign on this zone), then they won't be able to pick AD users. If you want to see both FBA and AD users, you must enable ...


0

You can use this below link as a reference and which gives you all attributes belongs to a user: Get all attributes from user


2

Your solution with SPServices is just ok. You should use jQuery to parse data and you could use selectors: var picker = $().SPServices.SPFindPeoplePicker({ peoplePickerDisplayName: whatDisplayName //your picker control field's display name }); var data = picker.row.find("div[id='divEntityData'] div").attr("data"); var xml = $(data);//accepting data by ...


0

Adding some JavaScript to your Edit and New forms is probably the easiest option in this situation since you only want to see the column on the Display form. SPUtility.js was specifically built for these types of situations (full disclosure, I maintain this open source library). I'd recommend creating a small HTML page with some code like this: <script ...


0

Whatever the procedure mentioned above by our techies will resolve your query. And I'd like to add one more step along with that. Check how many content type you have added for your list in the list setting. (in your case it might be more than one and old content type might be the default one) If it is more than one, make your new customized content ...


0

Add content editor/script editor webpart on forms and add some JavaScript/jQuery to hide the field. This does not require SharePoint designer. For reference: http://www.c-sharpcorner.com/UploadFile/0e18a8/hiding-a-field-in-newformeditformdisplayform-in-sharepoint/


2

To begin, go to List Settings > Advanced Settings: Select Yes on Allow management of content types?: Click on one of the existing content types under the Content Type section: Next, click on the column you intend to hide, and choose the option Hidden. Click OK: Go to the New Item tab and select the Edit form. You will see that, on both the New Item and ...


1

Go to List Settings -> Advanced Settings and set Allow management of content types? to Yes. Go back to List Settings and click your content type under Content Types (probably Items). Click the name of the column you want hidden in forms, and select Hidden (Will not appear in forms and save.


0

Why because when the people picker comes into HTML page its like combination of DIV and SPAN's so you need to clear those DIV data and SPAN which will going to generate by SharePoint dynamically so that Using JavaScript using achieve this, call this below function on some button click event: function ClearData() { var manager = '<%= ...


0

Without overriding the javascript function which handles the hidden span creation/population containing the resovled entity data, the next best workaround is to simply click the name of the entity and hit backspace or delete. Highlighting the entire value and hitting backspace or delete does not fire the underlying JS as expected, leaving hidden data, used ...


0

Add site to Compatibility view. Open SharePoint site in IE > press Alt to get the menu > Tools > Compatibility View settings > Type: Your Organization site URL > Add > Close >


1

Steve, What you probably want to do is extend both of your web apps to another zone (such as Internet) and disable NTLM authentication from that zone. That should prevent users from confusing users in the People Picker since only ADFS Auth will be enabled (and thus resolve through the people picker). However, leave NTLM activated on the default zone for ...


1

Just add this to your ascx page but change the version and other necessary details. <%-- _lcid="1033" _version="12.0.4518" _dal="1" --%> <%-- _LocalBinding --%><%@ Page language="C#" MasterPageFile="~masterurl/default.master" ...


0

Make sure the people picker javascript library is loaded. Please try this: SP.SOD.executeFunc('clientpeoplepicker.js', 'SPClientPeoplePicker', function () { //your code goes here });


1

Try to wrap your code like this: SP.SOD.executeFunc('clientpeoplepicker.js', 'SPClientPeoplePicker', function () { //code goes here }); Looks like the sharepoint javascript file you need hasn't been loaded yet.



Top 50 recent answers are included