Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Morning all,

Can anyone advise if it's possible to access a document / web part page properties via the client/JSCript API for use elsewhere on the page.

To put this in context, I've inherited a number of sites, each of which comprise Web Part Pages. The source libraries are hidden from the end-users. Our page editors edit the CEWPs on each one but are manually inserting the "last edited" date.

I'm wondering if we can grab the system generated "Last Modified" date and just insert that into the page instead.

Cheers, Steven

share|improve this question
    
You need to insert "Last Modified" into the CEWP automatically, am I correct? –  Kai Feb 6 '13 at 13:12
    
That's correct. –  Steven D Andrews Feb 6 '13 at 14:04
    
Are you considering using page layout with modified field inside (like Basic Page for example), or creating your own page layout? This required publishing feature activation. –  Kai Feb 6 '13 at 14:25
    
This will be done within a publishing site. I'm not planning to change the page layout. –  Steven D Andrews Feb 6 '13 at 14:28

1 Answer 1

The legacy SOAP Web Services include methods to work with Web Part pages and Web Parts.

See for example: http://msdn.microsoft.com/en-us/library/ms774788(v=office.12).aspx

They work in SharePoint 2007, 2010, and also 2013 (but deprecated).

share|improve this answer
    
AHh, brilliant. I'll have a look at these. Manu thanks (+1) –  Steven D Andrews Feb 8 '13 at 9:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.