Tag Info

New answers tagged

0

Did you try to change the width by: Edit page -> Edit web part -> Change width in Appearance section Or else you can change the width using JavaScript. Add a js file and change width using .css method.


0

JSLink is great but not the only solution. Your code can easily be put in a Calculated Column; if set to output as Number it will evaluate the HTML and display the IMG "<IMG src=""http://URL/sites/Main/Testing/Webparts/JSLink/Status-"&[Status]&".png"">" By the looks the only image name you have to rename is On-time


0

I do not believe this is possible. If you open up SharePoint Manager, Created By is not a property in the field's Schema XML both for out of the box fields and custom fields.


1

It seems your template is not applied since clienttemplates.js library is not yet loaded when SPClientTemplates.TemplateManager.RegisterTemplateOverrides function is invoked. Instead of (function () { var overrideContext = {}; overrideContext.Templates = {}; overrideContext.Templates.Fields = { 'Status': { 'View': overrideTemplate ...


0

You can use jquery to show/hide fields on sharepoint list forms. Using jQuery, you can control the visibility of fields. For example refer this link.


0

There is no direct function which can give you this value. You can calculate this based on Find number of weeks between January and April Find number of weeks from your Date Field and January Now Add Result of #1 wit Result of #2 You can find week from date using formula ...


0

as you have mentioned that you have tried doing at Content Type level, which means column is a site column. And here is the PowerShell function which will set column's appearance in Edit/New form. Function is csom PowerShell so it does not depend whether you need to run on server, just pass valid parameters $Url = your site url, $credentials = your ...


0

You can not dived by zero. Use this to check if the denominator is equal lo zero. =IF([ColumnB]=0,"Division By Zero!",[ColumnA]/[ColumnB]) Why can't we divide by zero? How different programming languages handle division by 0?


0

For some reason it wants to also pull the .xml file extension at the end. So I just had to adjust the character positions. This is what I used for the month =TEXT(LEFT(RIGHT(Title,14),10),"mmmm") This is what I used for the year. =TEXT(LEFT(RIGHT(Title,14),10),"yyyy")


1

You can use below formula =RIGHT(Title, 2) =LEFT(RIGHT(Title,10), 4) First formula will give 03 from Daily Report_ Andrew Beck - Minot - 2015-02-03 Second formula will give 2015 from Daily Report_ Andrew Beck - Minot - 2015-02-03 If you want day also then use below formula =LEFT(RIGHT(Title,5), 2)


1

You can add another view in the page which shows all the documents and set the Target Audience of the that web part as admin only so that only he can see that view.


0

Rather than using ListItemMenu and ListItemMenuAllowed, try CalloutMenu and CalloutMenuAllowed.


0

If hiding the column is sufficiƫnt you can use Nadeems' answer. You can also hide the information securely using out of the box techniques explained below. The steps create a seperate (custom) list only for SSN's give this list the read permissions as you would like your SSN column to have add a sample SSN (use the title field) In your main list (not the ...


1

There is no OOB way of limiting the access to a list column. The column can be hidden from the form using JavaScript but users can still see the page source and grab the information from there. Following example shows how to do it using JavaScript: <script type="text/javascript" src="/Shared%20Documents/JS/jquery.min.js"></script> <script ...



Top 50 recent answers are included