.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Can I hide the "Picture size" column in a picture library?

Posted By:      Posted Date: September 30, 2010    Points: 0   Category :SharePoint

I created a picture library. The picture size, preview, and File type columns are of computed types. Is it possible to hide them?

Thanks, Ninel

View Complete Post

More Related Resource Links

Can I hide the "Picture size" column in a picture library?


I created a picture library. The picture size, preview, and File type columns are of computed types. Is it possible to hide them?

Thanks, Ninel

How to hide image in SharePoint 2007 picture library

We have a picture library which has users photos. I wanted to hide some of the users photos in the picture library. Is there any way available to achieve the same in SharePoint2007.   Thanks, Senthilrajan Kaliyaperumal

Picture Library - Allow Name column to accept duplicate values


I'm wanting to create a Picture Library that will accept images with the same name (e.g. 001.jpg and 001.jpg).  Currently I get an error as they 'name' column must be unique. 

Is there a way to allow the 'name' column to accept duplicate names.

Thanks Jamie

Creating a custom column with a link to document (other than the name field) in document library



I have a document library with the standard name column linking to the document. However, we'd like to create a custom field and have that link to the document (and edit item menu).

How is this best accomplished?

Thanks in advance!


wss2.0 update/delete/hide lookup column that does not display any values


Hi All,

I have a document library that contains a Category column that is a lookup field. This is a default column that is a required field when uploading documents to the document library. The Category column is empty and I am unable to amend, hide, make it not required or delete it.

I have gone to Modify settings and columns -> clicked on the Category field to edit, but there is no option to amend the content or delete it. I am only able to amend the Column name and Description.

Since then, I have amended the column name to eg. Category1 and created a new Category field as a lookup and linked it to the correct list.

The problem I am facing now, is that I cannot hide, delete or make the Category1 (old Category) field NOT required. Either I would like to update the original field to display the correct values or alternately hide, delete or make the column not required.

Please help.

Issue With MOSS 2007 Picture library



We have a MOSS 2007 publishing portal. We are currently facing issues with Picture library created with default picture library template.Whenever we have tried to upload an image to the picture library I am getting "acess denied" error message, though I have full permission to the site level as well as to the library level.I have seen the pictures are getting uploaded and in "checked out" state.It does not show the "edit properties" page on upload and does not even allow the owner of the image to edit the properties, gives the same access denied error message.

I have also tried to check in the image files through the "management and content structure", but the images are not getting checked in. Please let me know the root cause of this and how we can resolve this.





Hide data for specific column from a user

Greetings, I have a problem. I would like to restrict showing specific users (or roles or schemas) data in a column. First I thought DENY option will do it but figured out that it won't. DENY denies the column being in the SELECT query. I would still like to call the column but if access to the data in that column is restricted it would show only null values and not the real ones. So... I would like call the next query from user TestUser: SELECT ID,Name,Address FROM Employee But if access to Address is restricted for TestUser I would get results like: ID Name Address 1 John Smith NULL 2 Rick Ross NULL ... Is it possible to do something like that in SQL Server 2005/2008? I was thinking of storing that kind of information in a table (for which tables, which columns for which users access is restricted) and then manipulate it on the application site but my programmers tell me that they use components which always call the full table (like SELECT *).  Thank you for your answer.

unable to delete a column from library in sharepoint 2007

Hi When deleting  any column in document library we are getting the below error Unable to validate data.   at System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength)    at System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) Also tried to hide/remove the search content place hoder in master page but nothing works. Removed our custom master page with default master page still no changes are being observed. Thanks & Regards. Prerna

hide column in insert template

Hello.  I would like to hide a foreign key column in an insert template.  It is auto populated with jQuery, and it would be great if this column was also hidden from view.  How is this done?  Thank you. 

Microsoft Office Picture manager is not launched in sharepoint 2010 picture library

Hi ? I am stuck up with :? Microsoft Office Picture manager is not launched in sharepoint 2010 picture library The description is : ? All the photos are stored in a picture library in the root of the My Sites called User Photos.? They are then stored in a folder called Profile Pictures. Navigate to your profile home page, delete default.aspx and type in ‘/user photos/’? (for example   ? But When I tried the edit option : Open Picture in a Picture Editor The page is blank : Microsoft Office Picture manager is not launched. ? Kindly help , if any service or step is missing. http://sp2010/my/user photos/).? This will take you to the root and then navigate to the folder Profile Pictures.http://sp2010/my/user photos/)

Speed Up Picture Library Slideshow transition?

I have a customer that's using the Picture Library Slideshow web part, but they want to speed up the transition time. I have to agree with them that the default fade in/fade out times are almost painful. Shouldn't both the transition type and time properties be exposed so an end user can adjust them? The only workaround I've seen for this is to use the Sliverlight Slideshow + container that's on Codeplex. Garth H MCITP BI 2008 MCTS: SQL 2005 & SharePoint 2010 http://bitinkering.spaces.live.com/

MOSS 2007: list column that lookup to multiple documents stored in doc library

Hi All, I'm trying to understand how to customise MOSS to achieve the following: I need to lookup from a list to multiple documents stored in a documetn library. Example: - List item 1 --------> Lookup to Doc 2                   --------> Lookup to Doc 5 - List item 2 --------> Lookup to Doc 3                   --------> Lookup to Doc 5                   --------> Lookup to Doc 8 - List item 3 --------> Lookup to Doc 1 How can I achieve this? is it possible that in the lookup I have a "search" option? Thanks all Vit

Hide grid view column if empty

 Hello All, I want to hide a grid view column if that column is empty. How do I do this? I dont have much exp. with grids. Please help me. Thanks in advance.

Picture Library View

hye..   i want to know if theres a way on how to view items on picture library as pop up or view in new windows. please reply ASAP.   thanx!

Content Query Web Part (CQWP) fails to show picture items from a document/picture library in an anon

I have a Picture Library and am trying to use the CQWP to display a list of items in the library.  The web part shows the items fine in authenticated mode, but it fails to show the items to anonymous users. The error log message is: Error while executing web part: System.NullReferenceException: Object reference not set to an instance of an object.     at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.SetDocumentIconUrlAndOnClickString(SPWeb web, DataRow row, String strDefaultItemOpen, Boolean fSetDocIcon, Boolean fSetOnClick, String fileRefColumnRef, String progIdColumnRef, String fsobjTypeColumnRef, String permMaskColumnRef)     at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.PreProcessForDocumentIconAndOnClickAttribute()     at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.AddContentQueryData()     at Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.GetXPathNavigator(String viewPath)     at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) I'm running SP 2010.  I've tried various scenarios including: 1. Using the default publishing template. 2. Using the blank site template with publishing and lock down features enabled. 3. Us

Selecting pictures from a particular directory in the Picture Library.

Hi, Im trying to get the images from a particular directory in a selected picture library, I have seen the SPListItemCollection _pictureList.Folders but im not sure how to access actual contents of these items. Sorry this isn't terrible detailed but i haven't really got any snippets atm. Thanks in advance Courtney O'Sullivan.  EDIT: This is my code but i know its wrong,  SPFile file = folders.File; i think is the actual folder itself instead of the files in the folder. SPListItemCollection listCollection = _pictureList.Folders; foreach (SPListItem folders in listCollection) { SPFile file = folders.File; //if there is a directory set if (PictureLibraryDirName.Length > 0) { bool bFoundDir = false; //if we have a folder directory string dirPath = SPUtility.GetUrlDirectory(file.Item.Url); if (dirPath != null) { string[] dirs = dirPath.Split(new char[] { '/' }); if (dirs.Length > 0) { foreach (string dir in dirs) { errormessage += dir; if (dir.Equals(PictureLibraryDirName)) { bFoundDir = true; } } } } //and if the file belongs to a different directory if (!bFoundDir) { continue; } }

Column Autonumbering in Doc Library: different numbers in different folders

Hi All, I am trying to develop an automunbeing column following the following post: http://social.msdn.microsoft.com/forums/en-US/sharepointdevelopment/thread/867bcacd-d378-411a-849a-fc040de9e5da/ This looks great, but unfortunately I have to develop something more specific. I have a doc library with specific folders and subfolders. I need to have an autonumbering code for each folder and subfolder. for example, given the following doc library structure: Doc Librery     - 01 Engineering     - 02 Design     - 03 Procurement         - 01 Onshore         - 02 Offshore each document should have the following autonumbering: in 01 - Engineering   -> 01ENG-0001, 01ENG-0002, 01ENG-0003 etc. in 02 - Design   -> 02DES-0001, 02DES-0002, 02DES-0003 etc. in 03 - Procurement -01 Onshore   -> 03PRO01ONS-0001, 03PRO01ONS-0002, 03PRO01ONS-0003 etc. in 03 - Procurement -02 Offshore   -> 03PRO02OFF-0001, 03PRO02OFF-0002, 03PRO02OFF-0003 etc. in this way I can easy identify where the document is stored. how can I do this? a custom workflow or a custom field developed in Visual Studio? Any suggestion would be good. Thanks Vit  
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend