New Post: SPServices Issue with SP2007
The value of aC is 4808, which is the ID and the 'typeof aC' is 'number'. That appears to be what is throwing the error.
View ArticleNew Post: SPServices Issue with SP2007
Hmm. The line that does the replacement is wrapped like so: if(opt.fieldNames[i] !== "ID") { thisField = (typeof thisField !== "undefined") ? thisField.replace(/(^[\s\xA0]+|[\s\xA0]+$)/g, '') : null; }...
View ArticleNew Post: SPServices Issue with SP2007
I'm going to try it with the non-minified version so I can debug it easier
View ArticleNew Post: Limit textbox values to a column in a SP list
I need to the same as above because I can not use a lookup column. I have the autocomplete working. I am not sure how this code should be used. I am not a developer but can usually do great with copy...
View ArticleNew Post: SPServices Issue with SP2007
Ok, it's the Name field that is throwing the error and thisField is 4808. Finally got that figured out.
View ArticleNew Post: SPServices Issue with SP2007
When I pull each field one at a time, ID is the only field it is returning.
View ArticleNew Post: SPServices Issue with SP2007
Ok, I bet it's related to this issue, then:https://spservices.codeplex.com/workitem/10175 There are two syntax options, one with fieldName and one with fieldNames. Note the "s" in the latter one. I...
View ArticleNew Post: Prompt for site authentication in GetGroupCollectionFromUser
I am working in a SharePoint 2010 site that requires Common Access Card (CAC) authentication. I am using SPServices GetGroupCollectionFromUser to determine if the current user belongs to a SP Group and...
View ArticleNew Post: SPServices Issue with SP2007
No errors this time, but still nothing being returned for those fields.
View ArticleNew Post: SPServices Issue with SP2007
Erg. And the values are definitely in the userdisp.aspx page? I wonder if there's something unique about your environment. How custom is the branding, etc.? Are there any customizations on the...
View ArticleNew Post: SPServices Issue with SP2007
You've got a lot of custom stuff in that page, but it looks like the main user display area is pretty normal. The markup in my userdisp.aspx page looks the same as what's in yours, at least for Name....
View ArticleNew Post: SPServices Issue with SP2007
This WAS working at one point and I don't know what changed. It is working fine when I log in with the admin account but not when I use my personal account. Does that help?
View ArticleNew Post: SPServices Issue with SP2007
Maybe. When you are logged in as your personal account, can you reach the page /_layouts/userdisp.aspx?Force=True and see the right content? It could simply be a permissions thing. The way the function...
View ArticleNew Post: SPServices Issue with SP2007
Yup, I can see everything just fine on that page whether I am logged in as myself or admin. :-/
View ArticleNew Post: SPServices Issue with SP2007
Got it! I had to specify the webURL in order for it to work for my personal account. Now it works for both!
View ArticleNew Post: Direct Report
Is there a way to get all the direct reports of a manager using SPServices against SharePoint 2010? To clarify, giving a parameter of a user ID, retrieve all the Names of the users how have this user...
View ArticleNew Post: SPServices Issue with SP2007
I'm not sure why that works. Were you trying to get the info from a different Site Collection? M.
View ArticleNew Post: Direct Report
Check out the User Profile Service, specifically the UserProfileService.GetCommonManager Method. M.
View ArticleNew Post: SPServices Issue with SP2007
I was just on a sub-site within the root site collection. I thought it was weird too.
View Article