Tag Info

New answers tagged

0

I figured out how to call custom powershell functions in C# on ItemAdded Event for the list. The Runscript is the function which gets called and it points to powershell createprojectsubsites.ps1 on the local folder of the server. public override void ItemAdded(SPItemEventProperties properties) { ...


0

How comfortable are you with JavaScript, REST, Asynchronous processing? The information you want is not available with one call, you have to recursively process Webs and Lists Starting points: Retrieve folders and sub folders from document library by REST call Get all Files and Folders in one call


0

Go to the "Page Library" where the page is stored and choose Edit. (instead of first opening the page). That way the page will not open in "read mode" and thus not redirect you.


0

In my instance, the customer had relay issues with the email server configured in outgoing email settings. Simple workflows worked fine (logging to history etc) but as soon as email was added to the workflow, I received the internal server error 500. As soon as I updated the outgoing email setting with an allowed relay partner, the workflows worked fine. ...


0

If You want to display the content of the list You can use the Content Search Web Part or Search Results web part in order to show the elements from the list. First create a Result Source and enter the address to the list in it and which elements/Content Types it should return, and then configure Your web part to use that Result Source. Best Regards, Magnus


0

There are a variety of ways to do this. First there is the Office 365 language selection that is available in the cog, Office 365 settings. If your tenant is being synchronized with dirsync, then this option isn't available and is instead supplied via your on prem AD synchronizing the PreferredLanguage attribute. This translates the UI for you. In ...


1

Create a field named "NextCheck" and a field named "CheckField". Create a workflow to run when item has created or edited and pause until the "NextCheck" date as come. After this, set the field "CheckField" to true. Create another workflow to run when item has edited and check if the "CheckField" is true. If it was, verify the user and if is valid, set the ...


0

You cannot loop sharepoint 2010 workflows in an easy manner, are you in a 2013 environment, if so you can use 2013 workflow. Otherwise the path you will have to take is one of the following: Use a 3rd party workflow tool (Nintex, K2) Make 2 lists and have the workflows talk to each other, basically you will have the workflow create and update items ...


0

You cannot open sites directly in Visual Studio for Editing. But in case you want to edit any particular file. Go to site contents > Any Library (not list) and try the "Open With Explorer" option You can edit any 1. Masterpage 2. Site Page 3. CSS HTML JS Files. Hope this solves your query


0

A SharePoint site cannot be opened in Visual Studio. You can develop features in Visual Studio and deploy them through Visual Studio on a SharePoint site which is later activated and used. If you are using Visual Studio 2012 then I believe you will have to get Office Tools for VS2012 to start your development. And if you VS2013 then I guess they are ...


1

You don't open SharePoint sites in the same way you open an ASP.NET website. Getting started with SharePoint development is not as easy as getting started with ASP.NET. This video, SharePoint for ASP.NET Developers, will not answer your question but it will give you a foundation you can use as a basis for further learning. I highly recommend that you also ...


0

The article you mention will never get you a dynamic tree view! Its purpose is to design a static (i.e. hard-coded) menu, with defined nodes and target URLs... If you get a 404 error when testing your tree view, it probably means you entered a broken link at the previous step...


0

You can modify the properties/Query of the Search Result Web Part so that it only returns results (specified Content Types) from a defined address (Site/List/Library)


0

Add more CSS selectors, the Table Rows you click get the class s4-itm-selected .s4-itm-selected td { color: blue; } You need to add extra CSS selectors to restyle the Title link because the A tag has its own styling


0

Can you try adding "Log to the history" action after each statement form your workflow, so that we will know from where it is breaking. are you seeing same behavior with all the users ID and your ID? Can you go and check permissions on TASK list.(In case someone changed permissions day before) Can you monitor number of items from Workflow task list, in ...


1

Try replicating the same workflow with another new list. I am sure the schema of the associated list would have been corrupted. for further troubleshooting purposes, insert an email sending task or some item updating task in b/w or as a first step with some dummy content so you can know whether it is firing the workflow events or not.


0

Making changes in the SharePoint designer usually does not update the workflow start options. Go to the site or the list workflow settings and Edit the workflow start options there. It should update the startup options then.


0

You could schedule a task in windows server to execute the PowerShell script on given intervals. Check if there are new entries in the list and if there are create the new Sub site. Then it could be a good idea to have a flag on each item which is set by the script to indicate that you already created a sub site for that entry and don't need to check all ...


1

This page WrkTaskIp.aspx is located at LAYOUTS folder. But this is common for all approval workflow task form for the site collection. You might have to make a copy of original page and customize the copy page. For more accurate information please visit following link where detailed answer is provided to same type of question. ...


0

Clear the Sharepoint Designer Cache and test again: http://www.c-sharpcorner.com/UploadFile/sagarp/how-to-clear-your-sharepoint-designer-20102013-cache/


0

Run the following commands and then try logging in the site: ipconfig /flushdns ipconfig /registerdns


0

The problem was that sp.js and sp.runtime.js files were being referenced locally(ofcourse not the suggested way), which won't work well if SPO has update on those files. After adding the new CDN reference and removing the local reference it works fine.


0

After lots of hits and trials, following two approaches helped me resolve the issues. The column titles in SQL Server had symbols like $, % and _. I removed these symbols and just included plain texts in the column titles. The SQL Server table had more than 20k rows. I deleted all rows and just kept 1 row. Then I tried to create new Edit Form in ...


0

You may configure Form Based Authentication (see in the Authentication Providers page for the Web app in CA), and then edit the web.config file (on each WFE) to change the loginUrl property of the <forms> tag to point to your own page.


0

As far as I read your requirements then it's out of the box functionality, so no need to write any code. Configure SharePoint to accept logins from the two other domains' ADFS servers (see TechNet: Configure SAML-based claims authentication with AD FS in SharePoint 2013) and it should just work: When users access SharePoint they'll be asked to select ...


0

Inspect the disabled greyed out Control in browser. Remove the disabled flag using just the browsers HTML. And close the browser. The control should be enabled. and the warning will go and you'll be able to Save the workflow. Silly SharePoint Client Side Validation.


0

Create a calculated field, let's say it's called NonBlankFields. Set the formula of this field to be all of the string lengths for the fields you want to check multiplied together. If any of the fields have a 0 length, the product will be zero. You can have a formatting rule with the condition that if NonBlankFields = 0 then disable your SUBMIT button. ...


2

Just to pile on to the existing answers, this seems to be the most comprehensive answer [formatted for better readability]: You cannot use the following characters anywhere in a file name: Tilde Number sign Percent Ampersand Asterisk Braces Backslash Colon Angle brackets Question mark Slash Pipe Quotation mark You ...


1

Little improved version of accomplishing this via jquery $(document).ready ( function () { if (window.location.href.indexOf("EditForm.aspx") > -1) { $(".ms-formbody").css({ "font-weight":"bold","font-style":"italic"}); $(".ms-formbody span").css({"font-style":"normal","font-weight": "normal"}); } } ...


0

Your last logic may have worked if you added an "or" statement. Else If Current Item:Diff not equal "New" or If Current Item:Diff not equal "Not New" Email Andrew Fitzpatrick


1

I receive the same error on SharePoint Designer 2010 when creating multiple conditions with an email workflow. If I add 3 email messages, the workflow does not publish. Basically, my workflow sends an email message to the appropriate distribution group based on a drop-down selection picked from a form. When I delete the body of the email message, the ...


0

Okay, I finally got this to work. I'm going to post a detailed step-by-step way I did this. The problems I've been having seem to mostly be related to not understanding a lot of the terminology/locations of things. Hopefully this will help anyone else still new to everything. I opened the main site in SharePoint Designer 2013, then opened the Master Page ...


0

I have finalized my testing and it does appear that once a workflow escalates a task it will mark the overdue task as complete.


0

I also found a nice solution from Erik Swensons blog http://erikswenson.blogspot.de/2013/04/small-calendar-for-sharepoint-2010-2013.html Really nice css customization of the standard calendar webpart Thanks to Erik. 2010 CSS link reference in Master Page: <SharePoint:CssRegistration name="<% $SPUrl:~sitecollection/Style Library/smallcalendar.css ...


0

You can create SharePoint Designer Workflow to achive this. If you are not aware how to create please follow this link In SharePoint Designer do setting mentioned in screenshot below


0

How to delete those Custom Site action menu that we created in CSOM as you mention last answer.please do needful and help me.


0

List B , which is created from other template should be exactly identical to List A. Workaround: Create List B from List A template. This will solve your problem.


0

Make sure your custom master page has the all related scripts like <script type="text/javascript" src="/_layouts/15/sp.runtime.js"></script> <script type="text/javascript" src="/_layouts/15/sp.js"></script> <script type="text/javascript" src="/_layouts/15/sp.init.js?rev=jvJC3Kl5gbORaLtf7kxULQ%3D%3D"></script> ...


2

In your custom form use Client Side Rendering and render the desired people picker column with the default template, i.e. SPClientPeoplePickerCSRTemplate. This will automatically render your column as you desire. Source


0

There is a much easier way to implement a people picker in Javascript. You can use Rest Api to do this as well. <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"> <script src="//code.jquery.com/jquery-1.10.2.js"></script> <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script> ...


0

I was looking to accomplish the same thing recently. I tried similar methods as you with the old/new 2010/2013 multi-value lookup syntax as well as trying to pass through a JSON object/dictionary item. I posted a thread over at MS ...


0

Use developer tools (F12) to determine what css files your My Sites default.aspx page is pulling from -- the default is corev15.css, but if yours has been customized as you suggest there may be other css files taking precedence over this on your My Sites collections. Keep in mind that if you hide ms-shareWithLabel, you'll take away that drop down list and ...


0

IRM retention policy does not support 2013 workflows. Please try with 2010 workflows instead. enter link description here


1

I can't say you are doing everything right, but assuming this is a random problem, there are a few things that you can try to make SPD more stable. 1. Add the /Safe parameter to SPD Open the properties of the SharePoint Designer shortcut, and then paste "/Safe". It should look like: Target: "C:\Program Files (x86)\Microsoft Office\Office15\SPDESIGN.EXE" ...


0

Yes it is possible. Just you should start your workflow on item change event, and add action Update list item activity. When Item in list A get changed, update item in list B.


0

A potential reason why a list no longer appears in SharePoint Designer after you mark it as hidden is usually when the permission level for your user account do not allow you to see hidden lists. This happens for example, when you are site owner (full control), but not site collection administrator. In order to set the list back to visible you (or someone ...


0

I have seen other posts where users claim that SPList.Hidden is somehow different from SharePoint Designer's option Hide from browser. It is my belief that both the code approach and the designer setting are one and the same. A potential reason why a list no longer appears in SharePoint Designer after you mark it as hidden is usually when the permission ...


0

Try: =[Requested Posting Date]>=[Date of Request] If I'm reading this right, you don't want to allow the Requested Posting Date to fall before the Date of Request. The validation fails only if the formula evaluates to FALSE. With your formula: =[Requested Posting Date]<=[Date of Request] a Requested Posting Date that falls before the Date of Request ...


1

I just started over and redid the workflow and it works. Here is a copy of my new statements for reference. Stage:Stage 1 Set Variable: SOChange to No Set Variable: CreditHoldChange to No Set Variable: OldSONumber to Current Item:Sales Order Number (Before) If Current Item:Sales Order Number (Before) not equals Current Item:Sales Order Number Set ...


1

I just find the solution to solve issue. This requires you to have or install the SharePoint Designer. After making some changes with any page, you would like to public these changes to the Homepage as my desire, just simply do it as 2-step below: Select a master page such as v4.master Click on Set as Default Click your result



Top 50 recent answers are included