Tag Info

Hot answers tagged

1

I would use the CodePlex SPSERVICES project (http://spservices.codeplex.com/), which is compatible with SharePoint 2007. SPServices is a jQuery library which abstracts SharePoint's Web Services and makes them easier to use. It also includes functions which use the various Web Service operations to provide more useful (and cool) capabilities. It works ...


1

If you're using pure javascript, the easiest way is to add the field back to your page, hide it with a css style or some other javascript, then read the field value directly. If you need, you can edit the Dataview Webpart in designer to give the tds in that particular column a special class or something to make it easier to select.


1

You'll need to make sure that your custom column is a Managed Property in your Search Schema. By default, all site columns are also created as Managed Properties, but if you created the custom column in the document library itself, it won't be in the Search Schema as a Managed Property, it will just be a Crawled Property. In Central Admin, go to your ...


1

Just add a conditional check for column A to be blank. =IF(A<>"",CONCATENATE(A,", ",B, " feet"),"") If A isn't blank, it'll return the concatenation, otherwise it returns an empty string.


1

It introduces other complications, but your best bet may be a lookup field. Create a secondary custom list called Countries. Then build a lookup column in the first list which references the Countries list values. Now your example will work the way you intend.


1

I fixed it by removing the "multiple values" check! Who knew?


1

For the REST API, file size is returned in a field called 'Length' when you request a specific file object like with: /_api/web/getfilebyserverrelativeurl('/<folder name>/<file name>') http://msdn.microsoft.com/en-us/library/office/dn450841(v=office.15).aspx#bk_FileProperties EDIT1: re-read question and realize you probably want the size of ...


1

Here is one approach I would take just to keep things as they are: If you want to remain true in using snippets as they are presented, simply load that value onto your custom .html page layout or .htm master template. Wrap it in a div element that has either a unique id or unique class name. Then from your custom java script file, modify the DOM based on ...



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