Logo 
Search:

MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

Approve Folder

  Asked By: Carlton    Date: Mar 05    Category: MOSS    Views: 1202

Anyone knows how we can programatically approve a folder in a document library
in MOSS2007?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Irving Hurley     Answered On: Mar 05

Here is the solution:

spFolder.Item.ModerationStatus = SPModerationStatus.Approve;

spFolder.Item.Update();

But the folder  should not be the document  library itself, otherwise you get null
Item and thus error.

 
Didn't find what you were looking for? Find more on Approve Folder Or get search suggestion and latest updates.




Tagged: