create a column usingt PSI

N

Nach

Hi,
I was wondering if there's a way to access individual site settings/list
settings and create a column under issues list using PSI ? in tPS 2007 SDK
they have given a sample code which shows how to access server settings...so
I thought maybe there's also a way to access individual site settings. I'm
tryign add a few columns to all the existing sites. As I don't want to do
this manually ..am seeing if there's a way to do this programmatically.

Thanks
Nach
 
N

Nach

Chris,

Thanks for your response. I did try using the Sharepoint OM..but got some
errors..and further research showed that I cant use that when I'm trying to
add columns from a dev computer and connecting to a remote server. So now I'm
developing code using webservices. I have one doubt though...will doing this
from a program do anything to Project server...in the sense ..would it make
the client Professional to crash..? because I tried to add these fields
manually to one list in the database and it made Professional to crash for
all users...so I just wanna make sure that doesnt happen again..now that I'm
programmatically gonna add columns.
 
N

Nach

Chris, Thanks for the confirmation. I know it's not recommended to add
directly to the DB..but I wanted to see if it's working before writing a code
for it. But it turns out the server and professional didn't crash because of
that. And currently that is of a higher priority for us..I have put a new
post on that issue. To answer your Question, I added a field to the
sharepoint database in "AllLists" Table.."tp_Fields" column. And the change
did show up in Web Access...I'm currently developing a code in C# using
sharepoint web services to add columns..so I dont do anything directly to the
database.

Thanks a lot for your input...else I wouldn't have known where to start!
Nach
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top