Search EggHeadCafe's Job Board
EggHeadCafe Silverlight WPF ASP.NET VB.NET C# Excel SQL Server SharePoint
search
SharePoint GroupsView
Sharepoint Portalserver
Sharepoint Portalserver Development
Sharepoint Windowsservices
Sharepoint Windowsservices Development
Sharepoint Design_And_Customization
Sharepoint Development_And_Programming
Sharepoint General
Sharepoint Setup_And_Administration

Group SummariesView
.NET Framework
Access
BizTalk
Certifications
CRM
DDK
Exchange Server
FoxPro
French
French .NET
Games
German
German .NET
Graphic Design
IIS
Internet
ISA Server
Italian
Italian .NET
Maps
MCIS
Miscellaneous
Mobile Apps
Money
MSN
Networking
Office
Ops Mgr
Publisher
Security
SharePoint
Small Business
Spanish
Spanish .NET
SQL Server
Systems Management Server
Transaction Server
Virtual PC / Virtual Server
Visual Studio
Win32
Windows 2000
Windows 2003 Server
Windows 7
Windows Live
Windows Media
Windows Update
Windows Vista
Windows XP
 

View All Microsoft Sharepoint Development_And_Programming Posts  Ask A New Question 

add a column to a Document Library as read-only to the enduser

mkamosk posted on Saturday, January 27, 2007 4:22 AM

All --

Please help.

How can one add a column to a Document Library as read-only to the enduser?

This column should hold text. I need this column because I need to set/get
the value of that strictly from within a Workflow. This column must be
read-only to the enduser; he/she must not be able to change the value at any
time. Ideally, I want the column to be both completely hidden and completely
read-only to the enduser.

When I select a particular Document Library and then choose...


...and add a column of type "Single Line Of Text", that column is not
read-only to the enduser.

I can hide the column from every view. However, that is not enough because
when an enduser checks-out a document and then opens the document for editing
in Word 2003 or Word 2007, then the Office integration automatically shows
the column as editable in the Word interface.

This is not allowable for my requirements because the field's would need to
completely read-only to the enduser.

As such, the question becomes-- how can one add a read-only custom column to
a Document Library list?

Please advise.

Thank you.

-- Mark Kamoski

--
http://www.WebLogicArts.com
reply

 

add a column to a Document Library as read-only to the enduser

HelpNeede posted on Sunday, January 28, 2007 6:46 AM

How about selecting choice option while creating column.
reply

Look for SPField

Gonçalo Boléo posted on Tuesday, March 13, 2007 1:33 PM

Look for SPField properties:
ShowInDisplayForm
ShowInEditForm
ShowInListSettings
ShowInNewForm
etc...

field.ShowInNewForm = false
etc...
field.update
reply

You can also edit the Documento Information Panel that Word shows in Infopath

Gonçalo Boléo posted on Tuesday, March 13, 2007 1:37 PM

You can also edit the Documento Information Panel that Word shows in
Infopath and delete that field.
reply

Solved?

lan posted on Tuesday, March 17, 2009 12:15 PM

Hi Mark,

Did you get it to work? Could you please help?

thanks
lan
reply

 
 

Previous Microsoft Sharepoint Development_And_Programming conversation.