New answers tagged

0

SharePoint Yes/No fields are boolean values: true/false. They will never display Yes or No as text, so you will need to set these programmatically within your workflow. Create a workflow variable for the "Yes" and "No" values and replace the yesNoField in your email. Example: yesNoVariable = "No" if yesNoField equals True yesNoVariable = "Yes" Or, ...


0

Looks Like Your workflow Manager is not properly configured. First, we have to check if Workflow Proxy is properly connected. Go to the Central admin > Application Management > Manager service Application On this page you will see the Workflow Service Application proxy, click on it and on next page it should say connected. If you are not getting above then ...


0

Workflow service application proxy should be connected to web application You can follow this link for better understanding https://social.msdn.microsoft.com/Forums/office/en-US/2c260d6a-34e8-43b5-805c-1f1f00c88563/sharepoint-designer-2013-workflow-platform-is-not-available?forum=sharepointcustomization


0

Enable workflows in the site collection features and site features. U can find these settings under site settings.


0

The easiest way in my opinion is to use following CSS: <style> li.ms-core-menu-item[text="NAME OF THE ENTRY YOU WANT TO REMOVE"] {display: none !important;} </style>


0

Here is the working solution - Step 1 - Edit the Library Page and Add Script Editor Web Part . Step 2 - Paste the Below Code in web part for hiding the required button from ECB Menu Item using the Button ID (Replace ID value after # ). <style type="text/css"> li.ms-core-menu-item #ID_DeleteDocItem, .ms-core-menu-separator hr { display:none; } <...


0

I was experiencing this problem as well with my co-workers. I believe this is a SharePoint designer bug. What you need to do is install the SharePoint designer update for each computer that is having this problem. Here is the link below for the update: https://support.microsoft.com/en-gb/kb/2837633


0

Turned out that when associating workflow (publishing subscription) with a list it is not enough to use $wfSubService.PublishSubscriptionForList($sub, $ApprovalListId); - you need to explicitly set list id on workflow definition. I edited the PowerShell script and added the following lines: $wfDef.RestrictToType = "List" $wfDef.RestrictToScope = $...


0

Open the workflow in SP designer. On the right hand side bottom, you will see a list of .xsn files which are infopath forms used by your workflow. If there are more than one of these forms, you can identify the correct one with a bit of trial and error. Once you have identified the correct one, just open it in Infopath, make the changes you need, save and ...


1

You could load these two lists up in Excel and do the comparison there. =IF(ISNA(VLOOKUP(<single column I value>,<entire column E range>,1,FALSE)),FALSE, TRUE) This will check cell in Column I against the range of values in Column E, and set the value to True or False. Source: http://stackoverflow.com/questions/11315551/find-if-value-in-...


1

You can use Infopath or Client Side Rendering (JS Link) for hiding the columns of the SharePoint List. for better understanding follow this blog using CSR https://code.msdn.microsoft.com/office/CSR-code-samples-11-Fully-54ebcaa6 To understand CSR well, you can follow this link Client-Side Rendering/JS Link documentation?


1

Nothing wrong with using JavaScript. Almost everything in SharePoint (frontend-wise) is handled with JavaScript anyway. And it would be, by far, the fastest way to do it. SPUtility.js would be a good candidate for a library that brings all the functions you need: https://github.com/kitmenke/sputility


1

Not so trivial after all. I played around a bit and here is what I came up with: Notes first: You will need jQuery (at least on the DispForm.aspx of the Training Calendar list and on the NewForm.aspx of the Registration list) You Registration list needs a lookup column to the Training Calendar list You will have to deactivate Minimal Download Stratgy on ...


0

There are ways to do, basic option would be designing form using infopath.You can also do it by Client Side Rendering (JS link) for better understanding go through this blog https://code.msdn.microsoft.com/office/CSR-code-samples-11-Fully-54ebcaa6 There are lots of blog for CSR to learn Client-Side Rendering/JS Link documentation?


1

When you are working in visual webpart, you can add css & javascript in following ways. Option 1: Open your ascx file in the webpart. Add <style type="text/css"> </style> tag Add your css properties into this style tag. Use the classes in you html block. Option 2: Create a text file. paste entire css code in it. Do not add <style>...


1

If you want to apply the CSS to your Google Organization Chart webpart than you can just apply it from the ASPX page like (Usual way) below. <style type="text\css"> .google-visualization-orgchart-node { text-align: center; vertical-align: middle; width: 139px !important; font-family: arial,helvetica; font-size: 12px !important; cursor: default; border:...


0

With the help of "SPServices" you can get the current user name . Add the users you want to hide a column in specific group. If the current user present in particular group hide the field using jQuery. Add Content editor webpart in Newform/Editform.aspx and place the below script <script type="text/javascript" src="/sites/test/Script/jquery.min.js">&...


-2

Maybe you could use the new flow app of Microsoft? Flow.microsoft.com Edit: This is a workaround which may suit your needs. Go to flow.microsoft.com Search the templates for When an item in a SharePoint list is modified/added send an email. Adjust the template with the same conditions u have in your current workflow. Congratulations your future proof ...


2

If you want to display a content to the user only with 'Full Control' permission level use the below snippet <Sharepoint:SPSecurityTrimmedControl runat="server" PermissionsString="FullMask"> <div id="s4-ribbonrow" > </div> </Sharepoint:SPSecurityTrimmedControl> Different base permissions EmptyMask : Has no permissions on the Web ...


0

100 is a server imposed limit to support paging. To bypass you should use $top in your query. Recommended approach is to keep the 100 limit and page through the result using _next return value.


0

Just replace the element '#name' for whatever your "hello, userName" is. function getCurrentUser() { console.log('Made it'); var ctx = SP.ClientContext.get_current(); var web = ctx.get_web(); var currentUserObj = web.get_currentUser(); ctx.load(currentUserObj); ctx.executeQueryAsync( ...


0

You already have libraries, so you best bet is use the script or manual. Couple of the really good script. You can use the powershell on the server. Copy SharePoint views to other libraries with PowerShell Another option for all new libraries(if you want new) then save as template old library then create the new one from it. lastly, you can do one by one ...


0

May be I am late to answer here, but I was facing same problem and i found exact solution, the actual culprit is Workflow client installed with Visual studio. Just uninstall it from Program and Features in control panel


0

This can be done by SPServices.SPGetCurrentUser User information list Use of SP.UserProfiles.js Refer this link for SPServices.SPGetCurrentUser Get user detail from userInforList here With help of UserProfile.JS here


3

You can do it in SharePoint 2010 by querying following end-point. /_vti_bin/ListData.svc/UserInformationList Add your required properties in $select operator. /_vti_bin/ListData.svc/UserInformationList?$select=Id,Name,.. Example using jQuery function getUsers() { $.ajax({ url: "/_vti_bin/ListData.svc/UserInformationList", type: "...


1

Unattended Service Account is an Active Directory account that is used for accessing PerformancePoint Services data sources. This account is used by PerformancePoint Services on behalf of authorized users to provide access to external data sources for the purposes of creating and using dashboards and other PerformancePoint Services content. Make sure ...


0

Find substring in string Substring= | string=1 Year|5ff55ee4-5a60-2132-bc02-bbfdd9f190ab here you will get the index of "|" Now pass that index in Extract string from start of string replace 0 with your index number, i.e. variable:index1 string=1 Year|5ff55ee4-5a60-2132-bc02-bbfdd9f190ab so you will get your output in variable:substring2 is 1 Year ...


0

I got this error recently. It was because i had 2 user name enries-one under my old domain/user , and one under my new i:#0.w|domain\user claims. I can only send myself an email if i select myself as a specific user. I cannot just use my text name or email address. I'm not sure how i got 2 user names, must have happened during our 2013 migration


1

In order to set a new masterpage will have to upload it to the Masterpage Library which is located at: https://domain.sharepoint.com/_catalogs/masterpage To assign the masterpage to your site go to Site Settings > Design Manager > Publish and Apply Design > Assign master pages to your site based on device channel. Choose your Masterpage from the dropdowns, ...


0

Lookup column is the answer. Check out for Look up column in internet, you will get lots of example to practice.


2

Change your CreateNewRow function with below code. public partial class OrganizationChartUserControl : UserControl { //Get the List name to fetch the data from string listName = "OrgChart_Demo"; int iRowCounter = 0; string sAllNewRows = string.Empty; protected void Page_Load(object sender, EventArgs e) { //Fetch the data (...


0

Remove those if conditions and set workflow to run only during item created.


0

Make sure that your JS files are accessible and published as suggested by Robert. In my case, my JS files were located on an other SharePoint Site where the access was denied for my current user. It was a mistake. So, I changed the location to a local library and the issue was solved!


0

If I understand you correct you want to have a have Approver A for Blog Post 1 and Approver B for Blog Post 2 and then again Approver A for Blog Post 3 and so on and so forth. The only way I can think of is to make use of a helper list. You could have a list like this: List of Approvers ID | Order | Approver | Last Active ---------------------------------...


0

You can create an approval workflow in SharePoint Designer. Open the Microsoft SharePoint Designer. Click on File tab and Open your SharePoint site. Click on Workflows Click on List Workflow and Select the blog library where you want the workflow to be associated Next you can add "Action" -> "Start Approval Process" Select the approver details Save and ...


0

You can create calculated column & use below formula to get the age of the item. =IF(ISBLANK(Created) ,"Created" ,"<img src='/_layouts/images/blank.gif' onload=""{" &" var SPday=new Date();" &" SPday.setFullYear(" &YEAR(Created) &"," &MONTH(Created)-1 &"," &DAY(Created) &");...


2

The best approach to this is to create a timer job or powershell/executable script that runs nightly to query your list items, iterate over them, add 1 to the field, and commit the change using system.update to not affect modified information.


1

There are two common symptoms and the underlying causes of each is human error. But don’t beat yourself up; they are easy mistakes to make and correct. Use the following to troubleshoot the issue: When a SPD workflow doesn’t copy one field to the target list: The field names don’t match The field names match, but the field type and the settings do not ...


2

Remove "." from your code at line number 3 i.e j(":input[title='Application Name']").val(); var j = jQuery.noConflict(); function PreSaveAction() { var txtTitle = j(":input[title='Application Name']").val(); alert(txtTitle); if(txtTitle == ''){ alert("Value Cannot be Blank"); return false; } else{ return true; } ...


0

Try this code, ites working for me <script type="text/javascript"> var j = jQuery.noConflict(); function PreSaveAction() { var txtTitle = j("input[title='Application Name']").val(); alert(txtTitle); if(txtTitle == ''){ alert("Value Cannot be Blank"); return false; } else{ return true; } } </script> Use ...


0

Try this: function PreSaveAction(){ var txtTitle = $("input[title='Application Name']").val(); alert(txtTitle); // ... };


0

You need to have site collection administrator permission to perform this action.


0

Typically, i find the oslo.master or seattle.master and edit the master page, you can find in your SharePoint Design Master Page on navigation menu, this option show all masterpages in your site, and click on seattle or oslo and edit file in advanced mode. I strongly advise you to make a backup of one of the two and modify your backup. Like this exemple.


0

From SPD -> All Files -> _catelogs -> masterpage This will give you all html files.


0


0

You should run the query when a submit button is pressed, or when the dropdown is changed, not on page load.


0

Perhaps are you using a custom master page or css on the site? Try the default master pages or even change the theme / look to see if the problem still exists.


0

That depends largely on your masterpage and your stylesheet. From your screenshot it looks almost as if the 35px bottom-padding of #s4-bodyContainer is causing this gap (assuming that this value in your stylesheet is not different from the default value). You could try that: #s4-bodyContainer { padding-bottom: 0 !important; }


0

Finally, found an answer by myself! It was an action which make a record in workflow's journal. This action was writing a variable which value was "some long text. www.site-name.ru". Overall length of text value is 427. And workflow just crashes on that action.


0

There are multiple solutions on network. Using CSS, Jquery and XSLT. Please check below: 1) Using Script: https://social.msdn.microsoft.com/Forums/office/en-US/d9156516-1298-48ae-8e31-c67eab56f786/i-want-to-remove-the-roll-over-effect-from-my-promoted-link?forum=sharepointdevelopment 2) Using CSS: change the default tile size in Sharepoint 2013 3) ...



Top 50 recent answers are included