Tag Info

Hot answers tagged

2

The correct syntax is either $(".severity").css({"color" : "blue"}); OR $(".severity").css("color", "blue"); The first syntax is used mostly to edit multiple css properties (separated by comma). Source


2

I would suggest that you break the whole thing into two features, first one to deploy the List Template and second one to create the instance of the list based on template.. On the later one, you will need to define Feature Activation Dependency of List Template feature.. Both features can be hidden and you just need to activate the Feature that creates ...


1

About the first one: since it is a note field, I suppose that that is the actual content of the field. SharePoint automagically formatted your text when you inserted it into the list. About the second one. Again, expected. The user will be returned as an instance of the FieldUserValue class. Cast it to read the actual info. For example: //Note: will give ...


1

For the user you need to get the LookupValue property and then use toString(). objFieldUserValue.LookupValue.ToString(); Microsoft.SharePoint.Client.FieldUserValue Title For the NoteField try to get the property Text. NoteField properties


1

A cleaner way would be to create a new View with all necessary filters and use it on the pages(as Webpart) and apply JSLink to the web part properties. JSLink: You could always add a conditional check within the JS but that might offset the paging and result in empty cells. For ex. customItemHtml: function (ctx) { var _taskStatus = ...



Only top voted, non community-wiki answers of a minimum length are eligible