Tag Info

New answers tagged

0

Now a days almost all browser support HTML5. So why not we take advantage of it theSearchBox.attr("placeholder",preferredSearchText); hope it will help you.


0

An alternative and recommended way to change the search box's prompt is to make changes to the master page or modify the 'Control_SearchBox_Compact.html' display template. Modification to the master page is the easiest options since you're only looking to change the initial prompt. This involves replacing the delegate control for the search with a web part ...


0

Compare the values of your Current Item's Created column and Modified column in your workflow. If the two datetime values are equal, your Current Item is newly created. Else, your Current Item's been changed. Did my workflow run on item changed or item creation?


0

hi on mouse over it would show tool tip for the control, check whether the control have a attribute called 'title' if so change the content of the attribute with the required value like theSearchBox.attr('title',preferredSearchText); include the above line in your jquery probably it would change the text on mouse over.


0

Building on Ashish Patel's answer, if you were to just do those changes alone, then exported the workflow, it would not work. To get this to work Save workflow as template then download file from site assets Change file extension *.wsp -> *.cab. Extract using iZarc inside the Instances folder, change any reference to the old file name in Elements.xml and ...


1

Well, this is for the dummies like me who do not know how to scroll. If you scroll down on the list page you will find the Custom Actions section. Editing on Custom Ribbon Actions is done here...


1

In case someone has same requirements (and restriction). As it seems that you are confident with js,ajax,html. I would go for list REST service. You can access this service via /_vti_bin/listdata.svc and to access a specific list you can send a GET with the following URI: /_vti_bin/listdata.svc/{listname} this will return all rows but since its an OData ...


0

If I understand you correct, you can't create aspx-files using SharePoint Designer? I did a test on my own environment, and it worked as expected. No error messages at all. In the site pages, right-click and add a new ASPX file. It also works in a simple list Please verify that you have sufficient permission for that kind of action.


2

In my experience, this level of complexity is when it's time to try something other than a single calculated column. You can nest calculated columns to do some subtotaling, you can make custom columns that do complex calculations in server side code, or you could have a powershell script come through and calculate the column. Any function with 11 closing ...


0

No need to create any dynamic strings. Based on my experience you create a new variable and read the value in the new Person or Group column into it. SharePoint handles the translation of the names in the column as the e-mail is generated. Now use the WORKFLOW variable in the TO line of the e-mail.


0

How do I start a work flow only when a specific field is changed? The only way to do this is to handle specific changes, like in a choice field. For example: If CurrentItem:ChoiceField equals Choice1 //do work Else If CurrentItem:ChoiceField equals Choice2 //do work The only other way to handle a specific field change is to use the "Wait for field ...


0

It's an old question but here is the solution (from my blog): // the below function simulate a click on a link function fireEventClick(elem){ if(document.createEvent){ var e = document.createEvent('MouseEvents'); e.initMouseEvent('click', /* Event type */ true, /* Can bubble */ ...


0

Are you using a custom form action button or the default save button? If you are using a custom form action button then you need to add the PreSaveAction manually. <a id="savebutton" href="javascript: if (PreSaveAction()) {ddwrt:GenFireServerEvent('__commit;dvt_1_form_insertmode={1}')}" style="">Save and View</a>


0

Well, After digging lot into web I found out that the RegistrationID for Tasks List is 171 from this link, so below code block has worked for me: <CustomAction Id="ActionButton" RegistrationId="171" RegistrationType="List" Location="CommandUI.Ribbon" Title="Add a Action button for tasks list"> <CommandUIExtension> <CommandUIDefinitions> ...


0

Step 1 : To set item level permission Use "Replace List Item Permissions" action in SharePoint 2010 Designer Workflow. Please refer the following links for implementation details... http://www.c-sharpcorner.com/UploadFile/Roji.Joy/how-to-set-item-level-permission-using-sharepoint-designer-2/ ...


0

Neither SharePoint nor InfoPath support the notion of "business days". In fact, both SharePoint AND InfoPath are not very good at handling dates and differences between dates. Adding "business days" into the mix won't make things easier. You may want to explore a SharePoint Designer workflow to set the dependent dates, or maybe use a jQuery approach (but ...


1

This would be tricky with modified date, you would need 2 workflows. Here is an example of something I did recently using 2 fields. There was 1 list where you selected a 'Certification' and a second list which had a number of 'Vouchers' for that certification. I wanted to select a voucher for the specific certification type and make sure it was active. ...


0

Remove all the whitespace from your ViewFieldsOverride property, it should be all on one line. The following code block is taken from the SPSiteDataQuery (which is used internally to retrieve the data) during XML validation: try { while (SPSiteDataQuery.ReadRootXmlElement(xmlReader)) { ...


1

This was very helpful in figuring this out. In my pages the tag was actually WpNs0 not WpNs1 but I had success changing the <%@ Register TagPrefix="WpNs0" tag to instead match what SharePoint Designer puts in: <%@ Register TagPrefix="spsswc" Hope this helps someone -- what a nightmare SharePoint Designer is -- not tested much before release, ...


0

As I commented: "Calculated fields can only be used to set a value in the current field (the field the formula is on)". No value assignment is necessary in the formula, the result of the formula will be used as the field value. Make sure the column ProcessStatus is a calculated column and enter the following formula: IF(NOT(ISBLANK([ECOSubmitActualDate])), ...


1

you don't enable anonymous in IIS you enable it in the central management


0

You can use SharePoint Designer to create a DataView, Firstly you need to create a Linked Data Source where you can choose more than one List and create a Linked data source you can either merge or join the Lists. After creating the linked data source create a dataview using the linked data source and your view will be ready with more than one lists.


0

Add the following style within the page using Content Editor webpart... <style type="text/css"> .ms-vh, .ms-vh2-nofilter, .ms-vh2-nograd, .ms-vh2, .ms-vb { white-space: normal; } </style> I got the information from Ryan’s post.


-1

@Morgan Nice suggestion regarding the control, but the example you've provided has nothing to do with conditional data appearance which is what Mike is actually asking for. Here is an example of CONDITIONAL data appearance. You can also read more of this feature here.


0

There are a lot of things you want to happen in this Workflow. are you using timers? If not try waiting. Reason is that some of your actions might get lost as you do not have control over what happens first. By waiting for every field and logging you can be sure where you encounter the "problem" and then troubleshoot around it.


0

The list's Title is not guaranteed to be part of the list's Path. The OOTB string functions in SPD 2010 Workflows are weak, to say the least. And index based substring methods are only useful for non-reusable workflows. It's ridiculous that something as simple as the list URL, path or title aren't available from the Workflow Context. I'm sorry to say that ...


0

Sounds like you need to create a list to buffer the outgoing emails. When I update item #1, add this to the list and do nothing for a length of time (maybe 30 minutes). At the end of that time, look back through the list, compile all the edits into appropriate emails, then send.


0

Use Current Task:Form_URN to get a link to the currently assigned task.


0

You need to add the if statements in a sequential order, and if the IF statement is TRUE, you manipulate a variable. Set variable to FALSE IF Title is equal to ABC Set variable to "TR" IF Date is less than Today Set variable to "variable + UE" (use Fx) IF Variable is equal to "TRUE" Update List Item Else Log to history list "Item was not updated!"


0

You can also color the whole row with some Javascript in that HTML calculated column. This example is based on the number in the Priority field so you'd have to rework it with the above IF statements to and replace that CHOOSE statement-line, to get the color right. =[Priority] &"<img src='/_layouts/images/blank.gif' onload="" ...


0

You have to edit the task form using InfoPath. From SharePoint designer, go to the Workflow's main settings page, then in the Forms section (bottom right) look for the Approval Task form (it might have a weird name like Approval_x0020_9 or something like that) and click on it. This will open the form in InfoPath. Change the view to ChangeRequest. You ...


0

First off what SharePoint are you using? With SharePoint 2010 and up you can do the following: You trigger the event in the workflow and then send a mail. In the To set whoever. in the CC you can use workflow lookup current item and choose add recipients witch I understand as a field in your list. Your question is very hard to understand. Hope this ...


0

Or you could just create a calculated column with some HTML in it. Create a calculated column and set it to be a number for the HTML to render correctly. You can set background color as highlighting or even different pictures as well. HTML Calculated Column Example Uses - Color Coding I just tried out the example from the link i provided, by creating a ...


0

Conditional formatting the way it was available in SharePoint Designer 2010, not available in SharePoint Designer 2013 (Design view is removed from SharePoint Designer 2013). In SharePoint 2013 was introduced a so called Client Rendering Mode (CSR) which is intended for rendering of List Views and Forms using HTML and JavaScript. I would recommend you to ...


0

I think the very simplest solution to achieve your goals is the SPCascadeDropdowns function of the SPServices library. This approach is based on the built-in SharePoint web services on the server side and JavaScript on the client side. That means you should not install any custom field types or other assemblies on the server.


0

The screenshot you attached is essentially saying in pseudo-SQL for better understanding: SELECT ListItemID from CurrentList where (ListItemID = CurrentItemID) In other words, you are just getting the current Item's ID. If the source list is different, select it in the first drop-down menu, otherwise the last drop-down value is wrong "Current Item:ID", ...


1

Try the step by step at this blog It uses JSLink to customize the rendering of the fields Here are more samples


3

The folder isn't in SharePoint Designer (or more specifically, isn't inside the web/site collection) instead it is in 15 hive which is physically located here (and is shared with all the webs/site collections): C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15


0

no this would require heavy coding, by heavy i mean fully coded webpart todo what your asking for. Usually people would just settle for pageing like 1 of 10 within the webpart. I presume thats what you dont want? would it be too much to not have paging but rather show all content, it would mean a bit of scrolling todo if each column is long. so what im ...


0

This problem was occurring due to the name of the data source. The WCF Connection creation dialog has a field called "Name (optional)". If it is not filled, it will set the data source name as the same value as the service metadata URL. SharePoint seems to have trouble when dealing with some of the characters present on the service URL and ends up giving ...


0

Custom Action declaration have EnabledScript property, where any valid JS function can be placed, it can check any conditions and should return true or false. So VisualStudion is needed or direct access to sharepoint filesystem so one can modify proper ribbon xml declarations.


0

XSLT attribute disable-output-escaping will help you here. In your form you have to do something like this. <xsl:value-of select="@Notes" disable-output-escaping="yes" /> Hope this helps.


1

For some reason, SharePoint Designer WF do not like sending emails to user and permission groups. One way to get around this is to create your email groups for your workflows in a separate list, then create a workflow variable to set the user names into the variable as a string. Then use the string as a collection of your user group names and set them as ...


0

You initialized the variable as itemID var itemID = $("#ctl00_m_g_32d59762_da31_442a_8334_da53c330611c_FormControl0_V1_I1_S7_I1_H1").text(); But called it with itemId this.varitem = list.getItemById(itemId); It's easy to overlook! But Javascript is case-sensitive, so you'll need this.varitem = list.getItemById(itemID); As discussed in the comments ...


0

You are describing a relational database scenario. Master/slave or Parent/child. This cannot easily be done with out of the box components. You need two lists. One has the jobs, and another has the assignments for each job. SharePoint does not support this out of the box. You need to get creative. Mark Rackley has a few approaches for SharePoint 2010 and ...


0

First export the site with Export-SPWeb cmdlet: http://technet.microsoft.com/en-us/library/ff607895(v=office.15).aspx. You can then use Import-SPWeb cmdlet: http://technet.microsoft.com/en-us/library/ff607613(v=office.15).aspx.


2

Try this $(document).ready(function(){ $('#ctl00_m_g_de548742_27f6_4e71_b3ec_2d9a1ecca117_ff151_ctl00_DropDownChoice').on('change', function(){ var accountType = this.value; if(accountType == 'Military') { $('.milShow').show(); $('.ctrShow').hide(); $('.civShow').hide(); } ...


0

This was answered in Stackoverflow by "Mayo": http://stackoverflow.com/questions/1796875/sharepoint-send-an-email-to-users-specified-in-a-field I have limited experience with SP Designer workflows, but have you tried the email action with "Workflow Lookup" selected in the To field? This allows you to use specific fields from the submitted list ...


0

The navigation snippet must be sourced from Structure Navigation or from Managed Navigation. You can modify those links by opening sites Navigation Settings. Click on site settings Select Navigation Change the values


0

Got it: I created a second workflow that starts when an item on my master list is changed, wherein if the status is not unassigned (in which I've likely just assigned one somehow), it updates a column on my availability list. That in turn prompts my "low stock" alert workflow. There are probably ways to refine the process, but for now, it works.



Top 50 recent answers are included