Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

File Properties

  Asked By: Harshit    Date: Apr 29    Category: Sharepoint    Views: 1105

I have a requirement where I have to consume data from a list/photo library and
insert it into the actual file's summary properties.

For ex:

Say If I upload a document/photo pertiaing to a application record, the program
should wirte into the Fields of SUmmary Properties of that File:

Titel, Subject, Author, Keywords, comments and so on.

Can we do this using C# and Sharepoint.



5 Answers Found

Answer #1    Answered By: Shannon Fleming     Answered On: Apr 29

Sounds like you could do that using SPD workflow.

Answer #2    Answered By: Aditi Msc     Answered On: Apr 29

Poster is saying they want to write to the file  itself...unless you
have an amazing custom activity that you would like to share (O; SPD is not the
answer. This will require code.

Answer #3    Answered By: Abinav Basu     Answered On: Apr 29

Try using Event Handlers......................

Answer #4    Answered By: Teresa Simpson     Answered On: Apr 29

You can assign the file  properties using sharepoint  listItem. After getting
the listItem using SPListItem, try to do like below:
listItem["Author"] = "Jackson";listItem["Subject"] = "Chemistry";
after assigning all fields  finally update the listItem and the changes will

Answer #5    Answered By: Robby Barr     Answered On: Apr 29

This is writing to the list. Poster wants writing to the file  stream
itself. If you right-click on a file on your system and choose properties  you
should see a tab for Summary info. Poster wants to add data  there.

Check out this link. I know it’s a subscription service but you should be able
to scroll all the way to the bottom and find more information. It seems there is
a .dll on MSDN somewhere...

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