Tag Info

Hot answers tagged

4

http://sp365.co.uk/2011/09/sharepoint-designer-2010-conditional-formatting/ Here's my sample (http://gyazo.com/d7b4427824dc9796e9990081430ab271.png) for your task. Note the marked areas.


3

You can use jQuery to find the fields and apply css to them with something like: $("h3[class^='ms-standardheader']:contains('Assigned To')").css("font-weight", "Bold"); $("h3[class^='ms-standardheader']:contains('Description')").css("font-weight", "Bold");


2

When you customize a view, SharePoint allows you to choose among different styles. In your case, you could try a "Summary View", or a "Boxed View". If none of the out of the box styles suits your needs, then you'll have to use SharePoint Designer for advanced layout customizations. In SharePoint Designer you'll work with a Data View Web Part (SharePoint ...


2

My guess would be that the problem is because all day events do not have a time so it assumes 12am (and probably assumes it as UTC), but then it is likely correcting for either Daylight Savings or for local time zone. If you add a time mask to your TEXT(), it should show you enough for you to figure out exactly what it is doing.


2

This generally boils down to differences between Word's way of representing a document and HTML/CSS's approximations of such. One of the big areas they differ is indentation - SharePoint does its best to migrate the formatting but it doesn't always work. There are a couple things you can do about this: Use another tool to convert the document into ...


2

Out of the box, I am afraid there is no option to remove the comma. I have seen similar issues with dates, where a year would be rendered as 2,012 instead of 2012 for example. Unless you have specific requirements, the easiest workaround is to use a text column instead of a number column.


2

You could capture the formatted number first and then check for a NaN value. <xsl:variable name="myValue" select="format-number(@Probabilit_x00e0_, &quot;###0,%;-###0,%&quot;, &quot;lcid1040&quot;)" /> <xsl:choose> <xsl:when test="string(number($myValue))='NaN'">0</xsl:when> <xsl:otherwise> ...


2

There is an article in the DUET info on MSDN that shows you how to do this: http://msdn.microsoft.com/en-us/library/gg271157.aspx I think you can do it as follows as well (since an external content type is still a content type; however I have not tested this): - Create your external list from the external content type - Go into the external lists you ...


1

Even though your calculated column has the correct type ("number") in SharePoint, you may need to explicitly cast the variable to type number. That's much easier than it sounds. Do the following in SPD: Setup your condition and style the way you want them Go into Code view and look for <xsl:attribute name="style"> Change your condition from ...


1

so you are trying to remove the tags from input field you just pasted into, correct? if so, you can use the trigger onblur or onfocus event of the input field and use jQuery to return only the text between the tags. Like so, jQuery("#input").text(); $(document).ready(function(){ $("#yourinput").blur(function() { this.value = $(this).text(); ...


1

Enterprise Wiki: enable the Publishing Feature for the Site Collection Create a page layout based on the Enterprise Wiki Page In SPD, edit the properties of the tag PublishingWebControls:RichHtmlField (turn on the Properties panel) There's a whole raft of properties that you can toggle from TRUE to FALSE to allow/disallow Fonts, styles, links, etc. Save ...


1

If your status shows green where there is more than 7 days and shows orange when there are less than or equal to 3 what happens between 4 and 6? I would do this by creating a column in your list with this a calculated field formula; you can then hide the column from views and apply conditional formatting based on it (or show the column as the status flag): ...


1

You could reset the css class where the style is inherited and work with your or, better, create a custom css class and works with it. If you have a div like this <div class="firstClass secondClass thirdclass fourthclass"></div> and you want change something in one of those css class you can create your css style sheet and then change the ...


1

Start by editing your page using the menu "Site Actions > Edit Page". Select the area you want to edit and the Ribbon enables. In the Editing Tool > Format Text section you have the bullit as you are used to in Word:


1

I would recommend using jQuery validation to accomplish this... please see the following links: http://docs.jquery.com/plugins/Validation http://tinyurl.com/cn6objo Here is a more concrete example: Add a Content Editor Webpart (Set IsVisible to false) to your page Inside, include jQuery and jQuery.Validate scripts //Checks for valid form on save //Pass ...


1

The MSDN custom field type walkthrough covers a scenario very similar to your own.


1

You will need to create a custom Text field which derives from SPFieldText and override the GetValidatedString method. Her you can put your logic to check if the text entered adheres to the format or not. You may find this link useful: http://www.c-sharpcorner.com/uploadfile/Roji.Joy/creating-a-custom-field-type-for-sharepoint-2010-email-validation-field/


1

You need to click inside row or cell of your ListViewWebPart in design view pane - the Conditional Formatting menu options are context sensitive. It's from my sample made for your last topic:


1

If you simply want to format a single column of your list using <blockquote>, you can do this using XsltListViewWebPart formatting. To accomplish this, edit your list in SharePoint Designer (Ribbon -> List -> Edit list), and go to code tab: Find XsltListViewWebPart tag, and add following Xsl tag: <WebPartPages:XsltListViewWebPart runat="server" ...


1

You can dump HTML into this field as long as you render it without escaping the content. It really depends on the control used to render the content of the field.


1

In the workflows, when sending html alerts out, I always found that white spacing caused the email to lose its format - no idea why. So I created an email template with no white space which always seems to work in whatever email client is being used.


1

A tip I can give you when working with HTML in SharePoint Designer workflows is to get rid of all white space in the email body. If not, emails can be delivered very unappealing. So as bad of a practice as it is in normal web terms, pack the code tightly together once you got it drafted and see if that helps you here.


1

I read your reply. You can actually do this directly from the SharePoint UI, by creating a new Web Part page. If for some reason you need to do it on an existing two column page, you can follow this article: http://blog.pathtosharepoint.com/2009/10/16/a-method-to-customize-web-part-zones/


1

Your best bet is SharePoint Designer. I'll assume that you're using a non-Publishing site. Install SharePoint Designer on your client machine Create a new Site (e.g. a 'Blank Site') Open the site in SharePoint Designer Edit the page (e.g. default.aspx) in "Advanced Mode". Change the HTML to the structure you want. Save. Check-in your changes. If you ...


1

I got this from a post about filtering and formatting with Date Values. At this point, the main problem is around the formatting of the comparison. This is xml so when the parser sees ">', it views as the closing bracket and not as a comparison. You need to encode this as "&gt;=" for the comparison to be recognized. <xsl:if ...


1

There are several ways to do this, as with all things SharePoint. My favorite is with a Data View Web Part (DVWP), which you can create in SharePoint Designer. Because DVWPs are XSL-driven, you have total control over the markup, structure, and look of the output.


1

You have different ways to do this. The cleanest one would be to modify the xslt attached to your Web Part. This can be done via the user interface in SP 2010, in SP 2007 you would need SharePoint Designer. You'll be able to apply simple formattng or conditional formatting. If the formatting is part of your page/site branding, then Ryan's suggestion works ...


1

From SharePoint designer: List and Libraries -> Click on list -> Under Views tab -> Read List Right click on the date field -> Edit formula Replace: $thisNode/@*[name()=current()/@Name] With substring-before($thisNode/@*[name()=current()/@Name], ' ')



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