New answers tagged

1

I can see there is a ' missing in your jQuery selector. It should be like: "Attending": $('#cbAttending').val() Also, I would suggest that before directly using .val() in data you can check what you value you are getting from it by adding it in console.log(). So that you will know what are getting from this expression. If you are not getting proper ...


2

I don't think this has anything to do with SharePoint. The correct way to get the "value" of a checkbox (i.e. whether it is checked or not) using jQuery is $('#cbAttending').prop('checked') // will output true if checked, false if unchecked or (the older way) $('#cbAttending').is(':checked')


0

In order to have the save as template button enabled the workflow must be reusable workflow.... with list workflow we can not have the save as a template enabled.


0

Here is a similar issue post for your reference: https://social.technet.microsoft.com/Forums/en-US/19d59eef-b880-4c22-a279-5a738cd2c4fc/sharepoint-2013-workflow-task-approvereject-redirect-where-users-end-up-after-approving-or?forum=sharepointgeneral


0

Please see the sample. It is a 2010 workflow using a condition called If created by. ANd you can select the option "workflow lookup user" to find the user in your list B. The BlackList in data source is your list B. It will lookup the blacklist check if the item is created by user in you list B. Then you can add all actions you need. Note: Use login Name in ...


0

In addition to Samir's answer, you can also enable the "All Files" option by doing the following: Open your site in SharePoint Designer 2013. Click Site Options on the ribbon. Change the value of showurlstructure to 1.


0

This will help you. Try setting variable (Integer) to the ID of the item matching the item in list B. http://www.benprins.net/2017/03/13/sharepoint-2013-workflow-check-if-list-item-exists/


0

Follow Below Steps: At the Starting of your workflow, use Set Workflow Variable action and create on new variable of type string. Set it's value as a lookup column value. (See attached image below). Add IF condition, In Left side, Select the workflow variable we created. In Right side of equals, Type SMS. Inside IF condition, Use Send Email action. Note: ...


0

If designer is not working for Sharepoint online perform the following steps. Go to Sharepoint Admin Center --> Settings --> classic settings page --> Custom Script And enable the following Allow users to run custom script on personal sites Allow users to run custom script on self-service created sites


0

How did you edit the new form? I can publish the form successfully via SharePoint Designer->Edit external list->Design Forms in InfoPath under Actions tab->Item. Reference: How to: Customize External List Forms Using Microsoft InfoPath


0

You can troubleshoot your issue as following: If the workflow works well when you start the workflow manually? Make sure you have not used System Account to create the items and trigger the workflow. If so, you can use another account or add all the action in the workflow to App Step and check again. Try to republish the workflow and check again.


1

You can build a regular list view, sorted by start time and include all the columns you need.


0

This is possible to do, here are some screen shots to get you started. You'll need to test this simply to begin with, configure the workflow to copy across a single field value to the destination list. Then once that works correctly, gradually add fields and test until you have all of the required fields. Make sure the workflow Start Conditions are ...


1

You can achieve the requirement using the Workflow. You need to add two actions. Send Email Create List Item Refer to the link below to send an email. Similarly you can create the list Item. Send an Email when Item is created You need to edit the steps in both the actions as per your requirement.


0

While SPD workflows does not have an action to move a file you can do it indirectly by using the REST API from the workflow. A few years back I've created a similar solution for a client this way. The endpoint you want to use is this: _api/web/folders/GetByUrl('Original Document Location')/Files/getbyurl('Test.pdf')/CopyTo(strNewUrl='/sites/Meetingsite/...


0

There is no such function as a single step, but depending on your version of SharePoint Designer, you can use a HTTP request to get items in a list. You could filter the list or loop through all items in absent staff and compare it to the manager name.


0

My case I Have provided all permission but above got issues so one more extra step i have add. login user to add in contribute permission group and after the refresh it's working champ.


0

I assume you are using a lookup column with a large list. You can use JSLink to create a UI control to provide a search box for users. Check the Reference here: https://ravisoftltd.wordpress.com/2014/05/05/convert-lookup-field-to-token-input-with-jslink/ https://www.eliostruyf.com/how-to-retrieve-a-lookup-field-value-js-link/


0

Thank you all! seems like I found a solution! What I did was that instead of match the custom list directly to excel, I created the same custom list from scratch in Excel and then Data validate the columns that needed the multi choice list. In this way I was able to recreate the list and all its content, like you guys said it's impossible if you want to ...


0

The following code for your reference, add the code into script editor web part in list view. Note: "CountDictionary" method you can't provided. <input type="button" value="AddCustomUserActionToRibbon" onclick="AddCustomUserActionToRibbon()"/> <script language="javascript" type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/...


0

It is not possible. Multiple Choices in Excel are only achievable by applying VBA code.


0

In your parallel block, instead of adding your two task actions, first add two step blocks. Then, add one task to each step. After each task, add an additional action to update the list. If required, add an additional action after the parallel block to update the list to indicate that both tasks were completed.


1

No. That first line of the example code in that article: [sourcecode language='javascript' padlinenumbers='true' htmlscript='false' gutter='true'] and the closing [/sourcecode] is some kind of markup for that website to try to get the javascript example code there displaying nicely. Apparently it's not working correctly. Here's what the example code ...


2

When a query is inserted into your Query Management SharePoint list, at that time break the item level permission of that query and remove the unnecessary groups/users access for that item. Only assign access to proper groups/users and the appropriate Resolver group based on the country of the query with the appropriate permission level (e.g. Contribute or ...


1

No, it's not possible as Excel drop-down lists do not support multiple choices. It has nothing to do with SharePoint or with your list, but it's a known limitation of Excel. A workaround would be to use Access instead of Excel.


0

I know this is a very old question, but maybe my answer can help people with the same problem. I was struggling with this issue also. I replaced the web request of the document content (/_api/web/getfilebyserverrelativeurl('server relative URL of attachment from earlier call')/$value) from the workflow to a .NET service. In the service I converted the ...


0

I personally don't like SPSecurityTrimmedControl. I had situations in the past where it wouldn't work as advertised. That said, you might be having a case of "important" keywords being assigned. If sideNavBox has an important style, hide() might not work. Give this a try: to hide $('#sideNavBox').attr('style', 'display: none !important'); to show $('#...


0

SharePoint uses its own body onload function called _spBodyOnLoadFunctionNames which will collide with your document ready (run before or after). If you are loading your JavaScript files through the elements.xml file (through a feature in Visual Studio), this can be particularly problematic with the order of how things load. Instead, create a function with ...


0

I ran into the same issue. After following Mark L's answer, also open Internet Explorer before you try to connect. I can never connect if i haven't opened IE and logged into your tenant (any sharepoint website).


0

I believe your community site do not have SharePoint designer enabled. Please refer to this old thread to check: SharePoint designer 2013: you don't have permission to open this website


0

There's a way to do it without Sharepoint Designer, it turns out. My boss installed it without realising its capability. HarePoint provide a freeware workflow designer that runs from within the browser. When Microsoft get their act together and fix their designer so it works properly with SP 2016, the workflows you create in this tool will be editable ...


0

You must start the User Profile Synchronization service and Forefront Identity Manager Synchronization Service to configure a user profile sync connection and make your user profile service work. Try to start the two services and configure your user profile service application according to this article. https://www.youtube.com/watch?v=Vk_3ZYde88E If you ...


0

There isn't any effect on the domain if you pass the same it(google) in the synchronization connection across environments. It's a one way sync, not a two way , between the synchronization connection and SharePoint UPS. The only thing will be that the User profiles and the User profile properties will be same in the User profile service applications in ...


1

You can use PowerShell cmdlets to do that. A demo for your reference: $web = Get-SPWeb "http://sp13/sites/team" $list = $web.lists["Site Pages"] $items = $list.items foreach($item in $items) { $ie = new-object -ComObject "InternetExplorer.Application" $url = "http://sp13/sites/team/"+ $item.Url $ie.silent = $true $ie.navigate($url) ...


0

I figured it out with combinations of few solution out there. basically you have to create Custom Action with navigate URL property and use this URL to Invoke the Workflow Steps are below: Create Custom Action with Navigate to URL Enter below URL: http://yoursite/_layouts/IniWrkflIP.aspx?List={ListId}&ID={ItemId}&TemplateID={Your workflow ...


0

Because of the custom action redirect, then it will redirect to the root page of the document library. If you want to return back to the same folder, you could click Back button beside the Address bar in IE.


0

I had the same problem and it was related to two-factor authentication. I solve it by generating app password on page https://portal.office.com/account. When you generate this unique password phrase then just use it instead you original password.


0

I had the same problem and it was related to two-factor authentication. I solve it by generating app password on page https://portal.office.com/account. When you generate this unique password phrase then just use it instead you original password.


1

I had the same problem and it was related to two-factor authentication. I solve it by generating app password on page https://portal.office.com/account. When you generate this unique password phrase then just use it instead you original password.


0

It's possible you could create a site workflow, and start it programatically. Sample code to stat it programatically is here. However, I'd recommend not starting new development using SharePoint designer, especially when SharePoint is not really part of the solution. The big reason is that SPD 2013 is the final version of the product. MS is not coming out ...


0

open windows powershell ISE and run as administrator (download "sharepoint online management shell" and once installed, you can find the windows powershell ISE) Step1: Step2: Connect to the sharepoint online admin home with the login credentials. Type the following command along with the login username of the sharepoint online, and press enter, it will pop-...


0

Download SharePoint Online csom library and use SharePointOnlineCredentials class to pass credential, here is a code demo to upload file to Documents RootFolder: using (ClientContext cnx = new ClientContext("https://tenant.sharepoint.com/sites/dev")) { string password = "********"; string account = "user@tenant....


1

You must use SharePointOnlineCredentials instead of the NetworkCredential. Here is a sample: using (ClientContext clientContext = new ClientContext("https://contoso.sharepoint.com/")) { SecureString password = new SecureString(); clientContext.Credentials = new SharePointOnlineCredentials("loginname@yoursite.onmicrosoft.com", password); Web ...


1

I want to piggy-back on Mark's answer and make it work for the blog Open http://YOUR_SITE/YOUR_BLOG/Lists/Posts/NewPost.aspx URL. Cog wheel > Edit page > add a Web Part > Content Editor Web Part Inject the following in the body of the CEWP: Code to inject to CEWP: <script> $("[id^='Body_'] p").innerHTML = "<h1>Standard text in the body of ...


Top 50 recent answers are included