1

I know that setting location based column defaults is possible programatically using visual studio which isn't an option for me.

Is it possible using spservices or another jquery library?

Cheers,

Moonweazel

  • UPDATE: Thanks for the comment Tiago! I didn't know that at all. That page is created when you first setup the location based defaults. What is very interesting is that any changes made to the page in SPD don't reflect in the browser. I am going to have a go at editing that page via scripting to see if that somehow makes a difference. :) – moonweazel Oct 15 '14 at 14:36
0

Metadata Location-Based Defaults is a part of the Microsoft.Office.DocumentManagement.

My guess is that this api is only available on the server side.

As for SPServices you can ask them directly, as you may already have.

You may find interesting that what actually happens when you setup columns defaults is that a file called client_LocationBasedDefaults.html is saved inside your library.

Perhaps you may want to try and tweak it yourself using client side script and see what happens.

<MetadataDefaults>
    <a href="/sites/mm/meetings/NANA-20140924-test">
        <DefaultValue FieldName="Meeting_Date">2014-09-24T03:48:40Z</DefaultValue>
    </a>
</MetadataDefaults>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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