.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan
Asad Ali
Fauzul Azmi
Post New Web Links

Sharepoint Designer - Conditional Formatting Problem

Posted By:      Posted Date: October 03, 2010    Points: 0   Category :SharePoint
 

I've been creating some basic conditional formatting scenarios using Designer ... but I'm very new to this and need help with two topics that I can't get to work.

Problem 1:

When my condition criteria is met I want to display a graphic in the background, but the left of the actual text for that column. 

Example: I have a list of orders and when the priority column says rush, I want to display a small graphic to the left of the text for that column and shift the text to the right by the width of the 40 pixel graphic.  I've looked through all the different settings in the "modify style" dialog box and have used trial and error, but the darn graphic keeps displaying behind the text only. UGH!  I've been working on this for 2 hours now and can't figure it out. 

Can someone tell me what parameters to set so the text is shifted to the right 40 pixels so the background that is left justified is visible?

 

Problem 2:  

In this case, I can't figure out how to write the formula to tell   If  [DUE DATE] is less then 5 days from today I want the background cell to change color. I know how to change the color, but can't figure out the formula for the life of me.  Can someone give me the formula? 

Here's what I tried using in the xpath advanced


View Complete Post


More Related Resource Links

Conditional formatting on a joined subview using SharePoint Designer 2007 does not work

  
I have 2 SharePoint lists, one is a parent task list and the other a child task lists.  In SharePoint Designer 2007 I have created a combined datasource from these 2 lists.  From there I created a new ASPX page inserting the parent list as a dataview and the child as a subview.  So far so good, all is functioning as you would expect.    Now I need to apply conditional formatting to cells and rows in both the parent and child lists.  I can create a very simple condition on a row or cell of the parent list such as "If ID Equals '2988' format the background color as green" but no conditional formatting appears for the row where ID = 2988.  Incidentally, if I change the condition to "not equals 2988" the background changes to green. The line in the code view of Designer appears as follows:  <xsl:if test="../../../Rows/Row/@ID = '2988'">background-color: #00FF00;</xsl:if> I've seen this question asked here and in blogs but never answered.  If anyone has a solution, I would love to know what it is. Thanks; Dave  UPDATE:  it doesn't seem to matter if you add the additional fields as a joined subview or not.  If I add 2 data views, both using the linked data source which is configured to JOIN the contents of the data sources the conditional formatt

Problem with SharePoint Designer 2007 and Custom List Forms

  

I created several forms (Create/Edit/View) for a SharePoint list, using Custom List Forms.  I'm using Content Types in the list to ensure that each item only has the necessary fields.  When I created the ASPX forms, and inserted the Custom List Forms, I selected the correct Content Type, and I got the right fields inserted in the form.

Now, for some reason I can't identify, every time I create a new form, and insert a Custom List Form, SPD is bringing ALL fields from the list, instead of just bringing the fields included in the selected Content Type.

I have tried many different things to solve the problem, including creating new lists/content types/forms, etc. but SPD is doing the same thing all the time.

Can somebody tell me what may have gone wrong in SPD or MOSS?

Thanks


Problem With SharePoint Designer 2010 and the Search.asmx Web Service

  
I've created a web service datasource on a 2010 site using SharePoint Designer. When I try to make use of the datasource on a page I get the "The server returned a non-specific error when trying to get data from the data source..." message. The datasource connects to _vti_bin/search.asmx. I am using the QueryServiceSoap port and operation QueryX. I've tried various queryXml strings, including site & people searches using both SQL and keyword syntax. eg <?xml version="1.0" encoding="utf-8" ?><QueryPacket xmlns="urn:Microsoft.Search.Query" Revision="1000"><Query domain="QDomain"> <SupportedFormats><Format>urn:Microsoft.Search.Response.Document.Document</Format></SupportedFormats> <Context>   <QueryText language="en-US" type="MSSQLFT"><![CDATA[ SELECT Size, Rank, Path, Title, Description, Write, Filename, Description, Author FROM scope() WHERE CONTAINS ('"Lorum"') AND  ( ("SCOPE" = 'All Sites') )   ORDER BY "Rank" DESC ]]></QueryText> </Context> <Range><StartAt>1</StartAt><Count>20</Count></Range> <EnableStemming>false</EnableStemming> <TrimDuplicates>true</TrimDuplicates> <IgnoreAllNoiseQuery>true&l

Sharepoint Designer Workflow Problem

  
Hy there   I have a question.. I have started with WSS 3.0 and sharepoint designer. My problem is, i have a workflow...first creates a new element in the second list and the second flow starts.. The Problem is , some errors have occured in the log list.   I have multiple errors like this : 8xfr    Verbose     PermissionMask check failed. asking for 0x00000005, have 0x00000000, But i have full permission!   Second error : event handler error Event ID: 6875, i have already tried to repair sharepoint services ..but already the error exists in my loglist.   A Phenomen is , the workflow worked a week ago pretty fine, ..i had made some changes to the tasklist (name)..and so ,..and the workflow wont proceed successfull..after that i created a new website and tried to rebuilt my workflow...nothings changed... Curious is, that i dont get email information, about assigned tasks to my account,...and the "Wait until "... procedure wont work..you can make changes.... the list already stays in the "In process" status.   Hopefully someone has helpfull infos for me   Nice greets   Sascha    

Sharepoint Designer Workflow Problem

  
Hy there   I have a question.. I have started with WSS 3.0 and sharepoint designer. My problem is, i have a workflow...first creates a new element in the second list and the second flow starts.. The Problem is , some errors have occured in the log list.   I have multiple errors like this : 8xfr    Verbose     PermissionMask check failed. asking for 0x00000005, have 0x00000000, But i have full permission!   Second error : event handler error Event ID: 6875, i have already tried to repair sharepoint services ..but already the error exists in my loglist.   A Phenomen is , the workflow worked a week ago pretty fine, ..i had made some changes to the tasklist (name)..and so ,..and the workflow wont proceed successfull..after that i created a new website and tried to rebuilt my workflow...nothings changed... Curious is, that i dont get email information, about assigned tasks to my account,...and the "Wait until "... procedure wont work..you can make changes.... the list already stays in the "In process" status.   Hopefully someone has helpfull infos for me   Nice greets   Sascha    

Sharepoint Designer Backup/Restore problem

  

I am trying to use Sharepoint Designer's backup and restore functionality to move a site from one server to another.  The backup seems to complete successfully, but when I go to restore the site: It gives an error pls restore a backup in empty site. can any body tell me what will be the steps of restore site and sub-sites.

 

Thanks

Faisal


Edit problem with Sharepoint Designer

  

I want to make changes in Search server master page and result pages but when I am trying to open the page in SPD 2007 I am getting a error saying  "This web site is not configured to disallow editing with SharePoint designer. Contact your web site administrator for more information"

I am login as Site administrator and also check the permission like Add and customise pages; Use remote interface but still not able to edit anything

Just fr infrmation I am using Search server 2010 in FARM mode

Am i missing any thing or I need to use OR I need to USE SPD 2010 for Search Server 2010 ? Please help!

 


Sharepoint Designer - Conditional Formattting with column not in view

  

I'm trying to apply conditional formatting to a view and it works, but only if all the columns the conditional criteria are based on.  

This sort of defeats the purpose since I want to just highlight an the Title of the list item if a column within the list item that is not currently visible meet my criteria. I'm trying to save screen real estate space by displaying fewer columns and also to try to increase page rendering time. However, I doubt I'd really be decreasing page load times if I'm still requiring even data that is not displayed to be read.  

Anyone know of a workaround?  


Problem with creating Custom List in SharePoint Designer

  

Hello all,

I have used SharePoint designer 2007 to create a custom list for my SharePoint 2003 portal.  The list is quite simple, without any extensive programming. 

First I created a 'shell' for my list inside of SharePoint, where I name my fields and select their input types (Choice, Date, Currency, etc).

I then create a new .aspx file, insert a Custom SharePoint List into the new file, and use the above mentioned 'shell' to insert my content.

From this point, I rearrange the design, insert a few basic JavasScript elements - for image rollovers - and save.

The page displays perfectly in my live SharePoint environment.  However, when I enter data into this form, and submit, it doesn't save the data correctly.  For instance, there's a Yes/No option near the end of the form, defaulted to No.  If I click that checkbox - to set it to Yes - and submit the form, the resulting record does not show that I had clicked the checkbox.  In fact, it shows the whole form as being blank, as if I had entered nothing at all.

If this makes sense, how would I go about fixing this?


SP Designer 2010 Conditional Formatting with Hidden Values/Columns

  

I have a list with 30~40 columns. I want to do conditional formatting on it using SharePoint 2010 Designer (instead of creating a visual webpart with vs2010).

Of the 30-40 columns, i am only viewing 5 columns that i need (ie: first name, last name, etc...)

I can create the XSLT ListView Webpart on the page within SharePoint 2010. I can edit it with SharePoint 2010 Designer, i can also apply conditional formating to the row (ie: select row within XSLT webpart > Options > Conditional Formatting).

However, i cannot apply the conditional formatting too columns that are not listed in the <ViewFields> of the <XmlDefinition>. What gives? I want to do conditional formatting on the entire row of the item using the hidden ten or so columns and i don't want the user to see all the columns, but i want to do conditional formatting on them (its for æsthetics reasons, i don't want a grid list of 15+ columns on someones poor 1024 by 768 resolution/monitor... plus they don't need to see it until they click into the list item....)

Note:

<FieldRef Name="SomeColumnName" Hidden="True" /> does not work
<FieldRef Name="SomeColumnName" ReadOnly="True" /> does not work either


SharePoint Designer workflow task - problem with multiple users selector in InfoPath form

  

Gentlemen,

 

I have got an issue with InfoPath form generated for my SharePoint Designer workflow task. There is a multiple users selector that requests users from a task assignee. The problem is that only the first user entered got saved.

 

I am using SharePoint 2010 Standard Server (release). Steps to reproduce are the following:

Sharepoint Designer 2007 Problem

  

Hi EveryOne

I have sharepoint designer 2007 workflow

in which document owner upload documents and select perticular users for reviewing, 

i used column name if he select that user then yes and store that user in variable. same for all user. so i got all users in variables (whoever is selected) . Now problem is that i want to collect data from selected users at a time so how can i used that variable to collecting data.

'coz collect data only take one user. and variable concatenate is not possible in sharepoint designer 2007 workflow . so how can i collect data from all selected users at same time.

help me with this.


problem in task assign workflow in Sharepoint Designer ?

  

I have created workflow in spd 2007 .

i have created two group in AD - one is Users other is Approver.

when i write " If createdby equals Users  set assigned to to Approver " this condition task can not assign to Approver .

plz tell me how it is possible...


Sharepoint Designer Backup/Restore problem

  

I am trying to use Sharepoint Designer's backup and restore functionality to move a site from one server to another.  The backup seems to complete successfully, but when I go to restore the site I get an error that looks like this:

Cannot find C:\Windows\Temp\.......\exportsettings.xml.

Does anyone know how to resolve this problem?


SharePoint Designer Formatting

  
SharePoint Designer 2007.....When I highlight 1 word in a paragraph and click "Bold", the entire paragraph becomes bold. How do I only bold 1 word in a paragraph.  I uninstalled and reinstalled Sharepoint Designer but it did not correct the problem.  If this is the wrong forum, please direct me to the correct one.

Problem when adding activities in SharePoint Designer 2010

  

Hello,

I have a problem while adding custom activities in a workflow with SharePoint Designer 2010. My activities are deployed by a global package that also contains features, web pages, activities. This packages work correctly on another server.

I add a new reusable workflow, then in the list of actions, I select my custom action but it is not added to the workflow. I don’t get any error message.

I added authorizedType in web.config.
My assemblies were deployed in the GAC.
In my package, I have web pages that use the assembly used by my custom activities and it works fine.

I also deleted temporary

problem in applying SharePoint Designer Workflows to Lists in my Web application

  

Hi Mark,

I am so happy finding your forum.

I have installed MOSS 2007 with SP2 on a Windows Server 2008. I had no problem in configuring and creating Web Applications and Sites. However, there seems to be a problem in applying SharePoint Designer Workflows to Lists in my Web application. The problem is that the workflow I create to start automatically when an item in the List is changed doesn't work. The workflows works fine if it's started manually from an item in the list, but it's doesn’t work when it's started automatically with an item change in the list. I have checked the workflow on another MOSS 2007 installation on Server 2003 and it works fine. Have I missed something in the configurations?

Thanks for y

Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend