Tag Info

Hot answers tagged

5

I'd say that there is no such thing as "child page". If you need to create a hierarchy, then HR has to be a container. Within this container you would have the default page and then other pages. Just like what SharePoint does with sites. If for some reason all your pages need to be in the same container, then you cannot expect SharePoint to understand your ...


3

As @PirateEric said, you misplaced the parenthesis. If you are still getting an error after that, here are a couple things to check: your category name (is it [IssueCategory] or [Issue Category]?). your category must be a single choice. Multiple choice or lookup won't work To avoid mistakes, pick the field name from the fields listed in the right column ...


3

use a reference to the internal column name wrapped in curly braces <a href="mailto:{@InternalColumnName}">Email</a> The internal name is different from the display name. To find the internal name, navigate to your list settings page, then right click on the column name, scroll down through the complete url until you see "title=" and then copy ...


1

I can't test this, but this and you didn't include your errored statement so I can only give you the tools to solve your problem. For reference, here is the documentation on the IF Function in SharePoint: http://office.microsoft.com/en-au/windows-sharepoint-services-help/if-function-HA001161010.aspx In case that link ever dies in the future, here's the ...


1

Noticed a post on MSDN related to this very issue. His workaround sounds similar to what you've done, except he makes copies of files into a sub dir: create a new Folder under XSL Style Sheets and just get the copy of both ContentQueryMain.xsl and ItemStyle.xsl to the newly created folder. After that [make changes] for BeginList, EndList, BeginListItem ...


1

Important All example formulas in this topic use commas "," as the parameter delimiter character. In some countries, the comma is reserved for use as the decimal mark. In such countries, users creating a calculated field must use semi-colons ";" as the delimiter character. Regardless of which character is used when the field is created, the formula works on ...


1

I am assuming it works if you used only the one item as Eric conveyed it. Is your problem more of nesting the IF statement to get the other items to work? I quickly tested with a choice column with two options and the calculated field and was able to do it as this. =IF([Choice]="Question for IT","Technical",IF([Choice]="Question for HR","HR","other")) Oh ...


1

The [%= is essentially the same thing as using <%= to insert a line of .NET code into an ASP.NET page. There it is simply grabbing the value of "System.Threading.Thread.CurrentThread.CurrentUICulture.LCID" which I believe it to identify the language code (i.e. 1033 for English). The only examples where I see that this appears for SharePoint is in the ...


1

Another approach is to use the WebsInfo member of SPWebCollection (AllWebs). http://www.ilovesharepoint.com/2011/07/perfect-loop-looping-through-all-webs.html. If you need a limited set of properties, you don't have to worry about disposing it because it is not IDisposable and it is performant. But if you are using AllWebs, you need to dispose each web ...


1

you could also check out the SharePoint Extensions Library which has some nifty extensions methods for the SharePoint API. Especially check the extension for SPWebCollection and the AsSafeEnumerable() extension method. Makes your code looks really clean! /WW



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