Skip to Content

Looking for code...

Hi all,

I've been tasked with trying to figure out a way to set/change the 'Valid To' tbp date on lots and lots of existing files in a KM repository. I'm looking for code examples of how to do this. I'm also looking for code examples of how to read/modify other attributes/settings on files in a KM repository.

Thanks!

-Stephen Spalding

Web Developer

Graybar

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Oct 25, 2006 at 06:58 PM

    Hi Detlev,

    I was hoping that someone could provide code that does something similar to what I'm wanting to do here. What you've given is more on the abstract level than I was hoping for. If I have to, I guess I'll struggle my way through it.

    Thanks!

    -StephenS

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Stephen,

      No, it's not really abstract... There is code on the page and on others too; the KM API is very intuitive and straight forward. It's really (a) getting the IResource, (b) getting the mutuable property, (c) changing it, if needed, (d) setting it again. Eventually you have to take care to check out the resource before if versioning is used.

      That's all.

      Hope it helps

      Detlev

      PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

  • Posted on Oct 25, 2006 at 06:46 PM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.