Tag Info

New answers tagged

0

Try this code SPList _list = _web.Lists["My List"]; SPField _field = _list.Fields["Name"]; _field.ListItemMenu = true; _field.LinkToItemAllowed = SPField.ListItemMenuState.Required; _field.ListItemMenuAllowed = SPField.ListItemMenuState.Required; _field.Update(); _list.Update();


2

The most common reason (when there is no error in the formula) is that sites with different regional settings uses different characters as a delimiter. For European countries, commas works (,) work while English uses semicolon (;). So try to change all the semicolons (,) to commas (;) for it to work in your English page and vice versa. Use find and ...


1

The reasons to use content types rather than adding columns: If you have two disparate types of information in one list/library. ex: A list that has purchase requests for new employees and for new equipment. If you are going to use the same type of information on multiple sites/lists/libraries. ex: You have a content type that inherits from document that ...


1

There are three places where columns can be defined: list/library, site (SPWeb) and site collection (SPSite). Check all three and you will find them, in your case you're probably looking from too high level, e.g., looking at site collection level, when columns are in fact only created to specific site (SPWeb).


0

You can write an event receiver for document library and check on itemupdated or updating event if the publishing state has been changed. You can use the ModerationInformation to see if it is in a published version or not. Approved is published. If you don't have approval, you can go for "Level", where 1 is published and 2 is unpublished. Example: ...


1

Not every field you create in a list can be used in lookup columns, Name appears to be one of them, but you also won't see things like Multiple Lines of Text fields. SharePoint can only perform a lookup of values from columns that contain a ‘text’ value, and then only if it contains a single line of normal text (ie. “Single line of text”, a “number”, ...


0

I figure you have a few options: use JavaScript on the new/edit form to retrieve a list of existing project values and add it to the Project drop down create another list where users can add items and the Project column is a lookup for that list. so on the new/edit form where project is you could add add an option to add a new item to the lookup list. ...


0

Use a lookup column and show the user how to add new items to the lookup list.


3

You are asking for a No SharePoint Designer and SharePoint 2010 solution. It can be done in a Calculated Column without the use of any other Webparts like documented on the blogs the other answers refer to. The technique is documented at http://www.viewmaster365.com/#/How The cons of this approach are also documented. But it ain't easy; Calculated ...


3

This can be done using Rules in Infopath. There is 3 different types of rule that you can use, Validation, Formatting and Action. They are accessible from the top ribbon tab "Home" and are found almost in the right corner. Add a formatting rule on the field you wanna hide and set the condition to be something like Yes/No Field is equal to True / False ...


0

If you want, you can hide the Title column in editing item in Content Type in List Setting, and it won't appear in NewForm also EditForm. But when you do that, the first column is not display as a link and show menu edit item will be gone too.


2

You can give it a try using below sql query. DECLARE @listId AS UNIQUEIDENTIFIER = 'LISTGUID'; SELECT DISTINCT tp_Fields AS 'Fields' FROM AllLists WHERE tp_ID = @listId If you are using C# code to get the details you can use the following methods. public static string GetFieldXmlString(string ...


0

Create new people and group column "name/person" and set the defaul value to [ME]. Then if you press create new item the form will show the person who creates in that field automatically. And if he needs, he could change this field to different one.


0

I have some solution for this case, it just use tool which SP support. Use workflow, when user create/update item in Stakeholders list, it will also copy item into the Project Details list. It will automatically copy and user don't need to do anything in Project Details Use Managed metadata like you say, and the items in Stakeholders you must create in ...



Top 50 recent answers are included