note about siteurl and sub sites

Mar 8, 2010 at 4:33 AM

I'll add more info later if needed but on a subsite you'll need to pass in the site portion of the the getList call.


"Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)."

For sub-site, When using the name and not the GUID in GetList, you must enter full URL in end-point :

<endpoint address="http://server/sub-site1/sub-site2/_vti_bin/Lists.asmx" ...>

And not :

<endpoint address="http://server/_vti_bin/Lists.asmx" ...>

Mar 8, 2010 at 3:08 PM

That is correct.

User needs to pass in "http://server/sub-site1/sub-site2/" and jPoint adds "_vti_bin/Lists.asmx" for SiteURL.

If you are on the NewForm.aspx or EditForm.aspx it gets easier.

User can use jPoint's jP.SiteURL and jP.ListName which are automatically read from the form the page.