New Post: SP2010 – Updating multiple list items
Ok, so I changed the single quotes to double quotes on the var title fields, and now when I click save it actually saves. Nothing is being updated though.... if I had a column title incorrect...
View ArticleNew Post: SP2010 – Updating multiple list items
You're really going to have to do some debugging here. You're writing code, so you need to step through it and see what's happening. debug: true isn't going to do much for you in this case. Even if the...
View ArticleNew Post: SP2010 – Updating multiple list items
Not sure if this helps, but it appears that the vars aren't getting populated??<FieldRef Name="NewColumn1"></FieldRef> <Value Type="Text">[object Object]</Value> Maybe I'm not...
View ArticleNew Post: SP2010 – Updating multiple list items
It's populated, but your selector is returning a JavaScript object. It should be:var PCRNumberMain = $("input[title="PCR Number"]").val();M.
View ArticleNew Post: Get the Subwebs for a particular web
Hi Could someone point out to a sample on how to get the collection of subwebs within a particular web. Most of the examples use currentWeb for this, but i need a mechanism to provide the web url and...
View ArticleNew Post: SPServices is Undefied.
I am facing strange issue while starting workflow from Javascript/Jquery using SPServices Please find attached Screenshot for better understanding. I have tried all the versions of SPServices(from...
View ArticleNew Post: Get the Subwebs for a particular web
Did you look at the link I sent you on Twitter?https://spservices.codeplex.com/wikipage?title=Webs M.
View ArticleNew Post: SPServices is Undefied.
This simply means that your reference to the SPServices file is not correct and it's not loading in the page. M.
View ArticleNew Post: SP2010 – Updating multiple list items
Now it shows this error: SyntaxError: missing ) after argument list var PCRNumberMain = $("input[title="PCR Number"]").val(); Has an error pointing to PCR Number under the error.
View ArticleNew Post: SP2010 – Updating multiple list items
Sorry; my line above wasn't right. I can help up to a point, but ultimately, you need to debug this.var PCRNumberMain = $("input[title='PCR Number']").val();M.
View ArticleNew Post: SP2010 – Updating multiple list items
Ok, just wanted to post the final code that worked for me:<script language="javascript" type="text/javascript" src=" /sites/hp/JS/jquery-min.js"></script> <script language="javascript"...
View ArticleNew Post: SP2010 – Updating multiple list items
You're welcome. That CAML will be something like: CAMLQuery: "<Query><Where><And><Eq><FieldRef Name='NewColumn1'/><Value Type='Text'>" + PCRNumberMain +...
View ArticleNew Post: SP2010 – Updating multiple list items
Worked like a charm. Thanks again Marc!
View ArticleNew Post: SP2010 – Updating multiple list items
Oh, I DID have to change the RELEASE DATE field on the destination list to a SINGLE LINE OF TEXT field... it wasn't liking the date format... something about CAML I believe from the research I did......
View ArticleNew Post: SP2010 – Updating multiple list items
You should be able to filter on a Date/Time column. M.
View ArticleNew Post: SP2010 – Updating multiple list items
No, the filter worked fine... but when it tried to UPDATE the list item, it returned an error about the DATE/TIME column not being correct format or something... no big deal... just thought maybe there...
View ArticleNew Post: SP2010 – Updating multiple list items
Date fields need to be updated with a date in ISO format. Example: 2014-06-19.I think Marc has a utility that does some converting for you. Read the docs. to find it. -- Paul T.-- Sent from Mobile
View ArticleNew Post: SP2010 – Updating multiple list items
Awesome, worked great. Changed one line, and added another, see below.var ReleaseDateMainNotFormatted = $("input[title='Actual Release Date']").val(); var ReleaseDateMain =...
View ArticleNew Post: SPServices is Undefied.
Hi Marc, SCRIPT438: Object doesn't support property or method 'SPServices' This is the exact error I am getting on browser while running the script. -Shri
View Article