New Post: Using SPServices to disable a field if a user is not a member of a...
Working in SharePoint 2010 Foundation, I'm trying to disable a field on a custom editform.aspx for users who are not members of a specific group. So, if current user is not a member of the group...
View ArticleNew Post: Using SPServices to disable a field if a user is not a member of a...
You should look at the full response for the user and see what it looks like. It'll take some debugging with the IE Developer Tools or Firebug. M.
View ArticleNew Post: Using SPServices to disable a field if a user is not a member of a...
try...if($(xData.responseXML).find("Group[Name='Change Control - Admins']").length == 0) Members not in the group 'Change Control - Admins' will return the 0 length. That has always worked for me.
View ArticleNew Post: Using SPServices to disable a field if a user is not a member of a...
Sympmarc - thanks for the tip. I do have IE Developer installed. Not quite sure how to look at the full response though.
View ArticleNew Post: Using SPServices to disable a field if a user is not a member of a...
Gkoliver - thanks, but that does make it dissabled, but it's still disabled whether my user is a member of the specified group or not....which I think is the real problem here.
View ArticleNew Post: Using SPServices to disable a field if a user is not a member of a...
It's easier to look at the returned XML with Firebug or Fiddler. You can always do:alert((xData.responseText); but with this Web Service there's too much data to see everything. M.
View ArticleNew Post: Q: How do I query using SPServices lists on different Sharepoint...
Q: How do I query using SPServices lists on different Sharepoint Sites?
View ArticleNew Post: Q: How do I query using SPServices lists on different Sharepoint...
You can specify the webURL. Check the docs. M.
View ArticleNew Post: Q: How do I query using SPServices lists on different Sharepoint...
Sorry I should clarify ... I see the webURL parameter. But Can I query across a site collection to a different one? Will the security prevent me from doing so?
View ArticleNew Post: Access-Control-Allow-Origin
Okay... Yah this makes sense with my other problem.
View ArticleNew Post: Trying to use SPCascadeDropdown and CAML to select from a massive list
Thank you for responding but are you sure about that? When I view the source I can see that all of the items in the list are returned .. yes only a subset are shown in the select list but the whole...
View ArticleUpdated Wiki: Home
Project Description SPServices is a jQuery library which abstracts SharePoint's Web Services and makes them easier to use. It also includes functions which use the various Web Service operations to...
View ArticleNew Post: Trying to use SPCascadeDropdown and CAML to select from a massive list
If you mean the initial load of the form, then yes, SharePoint attempts to load all the values. You call SPCascadeDropdowns on page load, and from there the function only requests the data required...
View ArticleNew Post: Q: How do I query using SPServices lists on different Sharepoint...
There's no simple answer to the question. It can work, but depends on many things, like your auth mechanisms and network topology. However, generally speaking cross-domain script requests won't fly. M.
View ArticleNew Post: Cascading Dropdown with Managed Metadata Columns
Working with SharePoint hosted, so cannot run anything against the database unfortunately.
View ArticleNew Comment on "WebPartPages"
I get an error using GetWebPart2. The pageUrl parameter should be completely lowercase. As a workaround the following hack works for me: $().SPServices({operation: 'GetWebPart2', async: false, pageUrl:...
View ArticleNew Post: Cascading Dropdown with Managed Metadata Columns
The answer to the original question is "no". I haven't built that. The TaxonomyClientService lets you work with the managed metadata service, but you must know the sharedServiceIds to get rolling with...
View ArticleNew Post: SPServices GetListItems not retrieving MOSS LookUp Field
With a MOSS 2007 Custom List having a field that is a lookup type into another Custom List at the same site, using the following fails to bring in the lookup field, though the other (non-lookup) fields...
View ArticleNew Post: SPServices GetListItems not retrieving MOSS LookUp Field
Is the lookup field you want in the ViewFields? What you're doing is pretty generic, so I'm not sure what the issue is. M.
View ArticleNew Post: Can I use SPServices to write item-level permissions?
I'm writing items to a list, and a need has arisen to set item-level permissions. Is that possible with SPServices?
View Article