Tag Info

New answers tagged

1

In 2013 its best to apply CSR with a JSLink, but this method has some drawbacks like having to set the JSLink for every View, and not being able to (easily) have multiple Views on one page. In SP2010 I used these steps to Sum a Calculated Column (which can not be done with a View Total) It uses Javascript in a Calculated Column to do the math while the ...


2

You can accomplish this with a calculated field and a view. Create a calculated field named Month and use the Date In or Date Out field (which ever you want to use to count occurrences). The calculation for this column will be =TEXT([DateField], "mm"). This will return the month as a numerical value. Now that you have this, create a view or modify an ...


1

below formula should work for you Try this: =IF([Course#]="AWR136","Promoting Community Cybersecurity Planning",IF([Course#]="AWR135","Essentials of Community Cybersecurity"))


4

I reformatted the Formula in your original post, you can copy/paste multilines and SharePoint will ignore them. The = was allready spotted; You are also missing a False in your second IF =IF([Course #]="AWR135" ,"Promoting Community Cybersecurity Planning" ,IF([Course #]="AWR136" ,"Essentials of Community Cybersecurity" ,"" ...


1

It is true that I need to go for CSR. I went into the edit mode on the DispForm view for one of my items. Go into the Web Part attributes -> Miscellaneous Enter the JSLink to your file (in my case it is ~sitecollection/SiteAssets/logo.js) Sharepoint is showing my HTML code as a text string and for this I simply exchanged the innerHTML with my innerText. ...


3

The Number trick to display HTML only works in Views, it shows the bare HTML on Forms and in Alerts. Full explanation and pros & cons at: http://viewmaster365.com/index.html#/How For Forms you have to go for Client-Side-Rendering (CSR) BTW Your Formula: =IF(Area="HR" ;"<div><img style='float: left' ...


1

Here are the sites you may want to read: CSR - Client Side Rendering The SharePoint 2013 programmers way http://www.viewmaster365.com/#/How Yes you can display HTML/Javascript without the need for CSR, in a Calculated Column How to use Today and Me in Calculated column How to display Today calculations in a View with JavaScript in Calculated Column (or ...


0

I can't paste the whole page with detailed instructions But you can get this: By wacking some HTML & JavaScript in a Calculated Column. Not suggested for large volume lists, but fine for Views that fit in your display. Takes 9 steps and some 15 minutes (or 2 if you just copy/paste the last step) See: http://www.viewmaster365.com/#/Create/Sum


1

Just an idea to accomplish your requirement in a different way is to use CSR. I think the pro's of CSR are in your case: Only one column You can sort by column and get the real name instead of the html code Easy to use in different libraries If you have questions about the tutorial, don't be afraIT to ask.


9

Me in a Calculated Column I do not understand why you want [Me] in a Calculation. You can use [Me] in de View Filter settings Like the [Created By] and [Modified By] Columns and Lookup Columns [Me] is not available for Calculated Columns as the textual information is not stored in the List Item. I presume its legacy behaviour. Although with todays ...


0

Keerthi's solution didnt seem to work for me, so I modified theirs and used the following: =CONCATENATE(TEXT([Work Date]-(WEEKDAY([Work Date],2)-1),"mm/dd/yyyy")," - ",TEXT([Work Date]+(7-WEEKDAY([Work Date],2)),"mm/dd/yyyy")) Breakdown: =CONCATENATE( TEXT([Work Date]-(WEEKDAY([Work Date],2)-1),"mm/dd/yyyy"), " - ", TEXT([Work Date]+(7-WEEKDAY([Work ...


4

The built in [Today] and [Me] values have never worked in calculated columns, all references to this in previous versions were "hacks" as Sane mentions. The best ways to do this would be either via workflow on item creation/edit you update a fields based on the formula you desire or you could try a remote event receiver to handle it.


2

You cannot directly specify today and me in calculated column to set the values. You will have to create columns named Today and Me and then use it in your calculated column. Once you are done with the formula for the calculated column, you need to delete the 2 columns created for this. I think this will make your things work.


0

Duplicate: Issue with calculated column ID is 0 for newly created items because it gets its value from the database after the Formulas in Calculated Columns are evaluated. The only way to use ID in a Formula is to start a Workflow on Item creation, read the ID (the Workflow is executed after the item is created) and write the value to your Column CustomID ...



Top 50 recent answers are included