Hot answers tagged

4

Make sure SharePoint server have the WorkFlow Manager installed and configured. WorkFlow Manager also requires ServiceBus to be installed Then run the following commands in the SharePoint Management Shell: Register-SPWorkflowService -SPSite 'http://localhost:24000' -WorkflowHostUri 'https://localhost:12290' -AllowOAuthHttp -Force $WmsSap = Get-...


3

It means that you can't use SharePoint Server cmdlet on SharePoint Online environment. Every SharePoint Online cmdlet has the "word" SPO in it. Enable-SPFeature is for SharePoint Server only. Enable-SPFeature Index of Windows PowerShell for SharePoint Online cmdlets However, I learnt today, you can use PowerShell and CSOM: Using PowerShell One ...


3

Create a new workflow in SharePoint Designer that runs when a new item is created. Use the Add Time to Date action to subtract 1 day from the meeting day to get your reminder date. Then use Pause until Date using your reminder date. After the pause, use Send Email action.


2

You can check the ids from data.$1L_0 with the actual ids from your list. If they are same, then you can rely on data.$1L_0. Anyway following JSOM approach, you can flow: Add items in a array, then get ids from it using get_id(). var itemArray = []; var clientContext = SP.ClientContext.get_current(); var oList = clientContext.get_web().get_lists()....


2

This would require custom implementation using SSOM. You can try SPAudit class Or You can use cookie to be a flag for checking whether there is a user logged in. After the page is loaded, if the cookie is null, it suggests that there is a user logged in on the site, then you can get this user’s information using JavaScript Object Model and store the ...


2

This is not Filtering, but highlight (a row) with color based on a (due) date Multiple options: Color code due date field if 6 months before current date Calculated formulas for tracking progress Conditional Formatting Based on Number Range Color code due date field Or even more: http://sharepoint.stackexchange.com/search?q=user%3A32871+due


2

For your requirement you will need to create Client Web Part in your SharePoint Hosted App. When you add Client Web Part in your SharePoint Hosted App solution and deploy it then you will find your App in Insert >> App Part ribbon. You can use the default page that Client Web Part provide or else you can give path of your existing page that you already have ...


2

For lookup columns, you have to use $expand. So the query URL should look like _api/web/lists/getbytitle('A')/items?$select=column1,column2&$filter=owner/LoginName eq 'i:0#.f|membership|username'&$expand=owner There are some special character in i:0#.f|membership|username, so you have to encode it before passing in query URL. encodeURI('i:0#.f|...


2

Put this below script in CEWP on your page: <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script> <script> $( document ).ready(function() { $("#DeltaPlaceHolderPageTitleInTitleArea span span a").attr("href", _spPageContextInfo.webServerRelativeUrl); }); </script> It will ...


2

If you are developing custom web part, then you can do so. Just add following line in your Element.xml <Property Name="Group" Value="{category name}" /> Full code of my Element.xml <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/" > <Module Name="SpPlexSlider" List="113" Url="...


1

To get the ListItem details using REST API, we have to call the below endpoint, https://webappname/sites/sitecollection_ name/_api/Web/GetFileByServerRelativeUrl('/Sites/sitecollection_name>/en-US/Pages/TVM3.aspx')/ListItemAllFields GetFileByServerRelativeUrl( <server relative url of a file>) ListItemAllFields property returns all field values ...


1

You can retrieve page properties from a Pages library using REST just like any other list/library. For the above URL you could get that item using the following REST URL: http://<webappname>/Sites/<sitecollection name>/en-US/_api/web/lists/getbytitle('Pages')/items?$filter=FileRef eq '/sites/<sitecollection name/en-US/Pages/TVM3.aspx' It ...


1

I guess you are missing something in this step. var addData = { __metadata: { 'type': 'SP.Data.GNPagesListItem' }, Title: data.Title, Description: data.Description, ProsessOwnerId: data.ProsessOwner, ProcessContributerId: data.ProcessContributer }; To update a people or group field, instead of ProsessOwner or ProcessContributer the nomenclature should be ...


1

Seems like there is some mismatch in your JSON or data variable. Please check whether for "data.ProsessOwner" and "data.ProcessContributer" you are getting correct ID's. please refer this answer - Updating Lookup Values with the REST API


1

Please see the below example, you can use the "and" operator, to meet multiple conditions, http://{server_name}/_vti_bin/listdata.svc/UserInformationList?$filter=((ContentType eq 'Person') and (substringof(Name,'{query}')))&$orderby=Name Also, shared by Atish, on the following page, it shows you multiple other operators, you can use in your ...


1

How about using window.dynamicTable anywhere you want, that sticks stuff in the global scope It is of course better to create your own scope for variables/functions. window.myScope = window.myScope || {} or to make it MDS save Type.registerNamespace('myScope');


1

We need to run this script in SharePoint Management Shell $WmsSap = Get-SPWorkflowServiceApplicationProxy $WmsSap.RegisterWorkflowLifecycleManagementEnvironment() Reffered from this link and it worked for me.


1

add a $select=myfield1,myfield2,etc onto your REST url. Note that once you add the $select parameter, only the fields you explicitly select will be returned. Without a $select parameter, all built-in fields are returned. See official doc on MSDN


1

You can use the property bag associated with several types in the Client Object Model. These values get persisted in the content database. Web.AllProperties property


1

I was also having same issue. I used SharePoint Online Management Shell and took the following approach:- Solution-1 I guess you are not running your SharePoint Online Management Shell as Administrator or else you are not including Microsoft.SharePoint.Client.dll before running the Command. Solution-2: You can use below script in SharePoint Online ...


1

Workflows can use app permissions feature is only going to be activated if 1) You have configured your workflow manager properly. Make sure there are not issues with your workflow manager and you can create workflow using SP 2013 Workflow Manager. 2) You have configured apps for SharePoint 2013. Again you will need to make sure that you have hit all the ...


1

You can do this by workflows by following steps- 1- Create two column StartDate to your list(type single line of text). 2- Change your code by: oListItem1.set_item('StartDate',StartDate); 3- Create a workflow to that list Create a workflow variable startDate and set its current item StartDate value. Set Variable: startDate to Current Item:StartDate ...


1

D, I believe the date which you are referencing is your system date while SharePoint will consider server date time. also, javascript month starts from 0, so it might also be the cause to increment date by 1.


1

User Profile Service and Managed Metadata Service are not available in SharePoint Foundation. You will need to upgrade to SharePoint Server.


1

In AppManifest.xml file, add Permission for your app. If you are performing CRUD operations on List Or Library then provide necessary Permission based on scope. eg: We are using Manage Permission for developer on Site Collection Scope. Reference snap: You can get more info about app permissions from here.


1

As far as I know there is nothing like Logic Apps in SharePoint, additionally there is no official release notes on SharePoint Logic Apps. We have Flow Apps in SharePoint which is same as Logic Apps in Azure. I used Flow app in SharePoint Online to create Workflow like functionality which synchronized with Mail Chimp. For more details on Flow apps you can ...



Only top voted, non community-wiki answers of a minimum length are eligible