sharepoint-designer

How to add the UserId parameter to the query string of a XmlUrlDataSource in SharePoint?

I have an aspx that returns XML data using the query string parameter UserId. This UserId should be the SharePoint current User. I create the datasource and dragged to the page, but i don't know how to add the parameter to the datasource, so that it sends the current User Id. I tried to add the parameter in the datasource parameters gri...

In Sharepoint I want to display a message when an item is selected from the dropdown list and hide when it is clicked again.

I am new to sharepoint. I have a dropdown box with 5 items in it. When I select anyone of them from the dropdown box, I wanted to display a short discription of that selected item below. And when i click on it again the discription must hide or when i select another item from the dropdown box a discription of that message should be dis...

Locking / Unlocking a Site in Sharepoint

Hi, I am working on a program that retrieves information from Sharepoint. Now I need to check the behavior of it with some locks. My question is "How can I lock a single site within a site collection in sharepoint?" (Not programatically) I got 2 clues, Use of stsadmin command line utility Use of Central Administration > Application ...

Sharepoint XSLT Dynamic filtering

I'm trying to create a dynamic row filter based on a variable. I have the following code: <xsl:variable name="filter" select="contain(@Title, 'title1') or contain(@Title, 'title2')"/> <xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row[string($filter)]" /> This unfortunately doesn't seem to work and I end up with all rows. I'm...

Sharepoint Designer - how to restart a workflow

Is there a way, through SPD (w/o the state machine extension), to restart a workflow? ...

SharePoint - Modify the actions within a SPD-built workflow template programmatically?

Does anyone know whether it's possible to modify the workflow actions of a SharePoint Designer workflow template programmatically? For example, one has a SendEmail action and I'd like to modify the values of the To or the Bcc through code. Thanks in advance ...

Send an e-mail based on Workflow approval status using Sharepoint 2007

Hi, I am new to sharepoint. I am using sharepoint 2007. I have a following requirement. 1) Custom list has various fields ... Requestor, Application Name, Reason, etc.. 2) When person fill out the form (custom list). It will send a notification to Approvers for review and based on Request action : Approved --> It will send an e-mail n...

sharepoint ide other than sharepoint designer

Source control in Sharepoint Designer (SD) is arguably more a headache than a solution; especially when more than one person is editing the same code. In my case, I am mostly using SD to edit static files (css, js and html). I suppose it depends on the sharepoint development environment (currently using development VMs), but I have expe...

Sharepoint Designer - is there a way to calculate a date difference in a workflow?

Maybe I'm just crazy... So, with SPD I can add any time unit to a date and put that into a variable, but I can't seem to find anything that will let me calculate the difference between two dates. "Do Calculation" only lets me pick from numeric values. Am I missing something here? Seems like something which should be obvious. ...

SharePoint page edit issue

Hello everyone, I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise, and I am using publishing portal template. I am using SharePoint Designer 2007 to design pages. When I open the default.aspx under Pages sub-folder of a site, there are two options -- Edit in Browser and Edit Page Layout. I want to know wha...

SharePoint Document Library 404 Error

Help- Any idea what would cause sharepoint's doc library's tree view navigation to break? What- We have a sharepoint site that uses the template Document Center to hold all of our docs. In the master page of the site there is a site hierarchy showing a tree view for all the folders in the document library. When clicking on the folde...

SharePoint designer string replace function

SharePoint Designer does not support the replace function directly. What would be a function or call Template for this? I want to replace "-Y" with "Yes" and "-N" with "NO" in a string. E.g.: Sample-Y, Sample1-N Result as: Sample Yes Sample1 No ...

Get notified when a certain field change in NewForm.aspx

In NewForm.aspx i have three fields (StartTime, Duration, And EndTime), When user fill StartTime and Duration, I want javascript to calculate and fill EndTime automatically. I cant use: _spBodyOnLoadFunctionNames.push("..."); because on onload the StartTime and Duration are not filled yet. So I tried: var control = getTagFromIdentifi...

No-code solution for calendar view of SharePoint news items

MOSS provides you an excellent option to create a "news" site in your portal. It adds some "Archive" functionality, but it is very limited - a list of all articles published in that particular site. My users would like to see something better, a real archive of published articles, browsable by publishing date. What I've tried so far, ...

Sharepoint Designer stripping accent

I have an issue with Sharepoint Designer. Every time I put an accent in its HTML entities form: either &#233; or &eacute;, Sharepoint Designer changes it to é upon Check In and isn't shown when accessing the page on Internet Explorer. Is it an encoding problem? What can I do to avoid it? ...

How do I pass values from one SharePoint page to another?

Here's my specific predicament: I have a custom List Display Form that I am editing in SharePoint designer. It has the standard field editing form, and a Web part zone with a custom list Web part in it. When a user comes to this page, they're arriving here from clicking on an existing item in a list, we'll call it the "Site List." Each ...

is this feature available while creating sharepoint workflow for a list ?

I have a sharepoint list that has a number column call xyz i am creating a sharepoint designer workflow for that list in which i want to use update this list item action if we chose actions as update this list item then chose the list as current item then chose set this field -> xyz to this value -> { how can i select here current valu...

Sharepoint Designer - Disable task has been changed alert

I created the workflow in sharepoint designer using Collect data from user option. The approver receives three automated mail. 1) Notification to approve - Task assigned email 2) After approval, task has been changed alert 3) Another task has been changed alert Is there an option to suppress the last two task has been changed alert? I ...

automatic creation of new list from values of old list.

one sharepoint list is as follows ListA colA colB Tim TimA Tim TimB John JohnA John JohnB Tim TimC how can i automatically create a new list using values of ListA ListB ColAA ColBB Tim 3 ( because there are 3 items for Tim in ListA) John 2 ...

how to design such a workflow in sharepoint designer.

how can such a workflow be created in sharepoint designer. should start when a new item is created in listA Condition > if any item in the listB exist with customer name as andrews then Action > update that item in listB with field colA = orignal value in the field + 1 Else Action > Create item in list B with field colA = 1 and oth...