Monthly archives: August, 2017

Infopath how to get curent element ID

How to get in infopath current element id ? I have got a list, and I always want to take last number id from list. ================= 1   Are you trying to display some auto number on the form? Like the next ID that get assigned to the new item? – Amal Hashim Jan 20 ’15 …

“State Service Application” cannot installed by Farm Configuration Wizard

I used Farm Configuration wizard which starts the State Service Application, the State Service Application started a few minutes, then it stopped automatically. And it has a error “Internet Explorer cannot display the webpage”. Why State Service Application stopped automatically? ================= 1   Have you tried creating the service application using PowerShell? – Amal Hashim Jan …

Limit users to their own employees

I have a list of about 1000 employees with their addresses and phone numbers which I want to upload to a 2007 SharePoint in list format, which I know how to do, however due to data protection, managers are only able to view their own employees details. For example, I have John Smith and his …

Unknown server tag ‘SharePoint:FlightedContent’

I copied a Master Page from a SharePoint Online site and started working with it on a SharePoint 2013 VM. When trying to load a page on the VM that uses this Master Page I get this error: Unknown server tag ‘SharePoint:FlightedContent’. When looking up on Microsoft.SharePoint.WebControls namespace the FlightedContent is currently listed, but greyed …

How can I crawl/index only 5 site collections without losing the crawled/indexed other site collections?

I am using SP 2010 and FAST Search. I have a contentsource for the webapplication url “intranet.myCompany.com“. This is working, but very slow. I would like to create some content source for only 5 site collections: intranet.myCompany.com/sites/sitecollection1 intranet.myCompany.com/sites/sitecollection2 intranet.myCompany.com/sites/sitecollection3 intranet.myCompany.com/sites/sitecollection4 intranet.myCompany.com/sites/sitecollection5 Is this possible or do I need to remove the existing content source? I …

Get ListItemID using ExecuteQueryAsync function

In the code below I can get the value of the ListItemID of a List. var siteUrl = ‘company.sharepoint.com/sites/demo’; var t; retrieveListItemsInclude(); alert(“after”+t); function retrieveListItemsInclude() { var clientContext = new SP.ClientContext(siteUrl); var oList = clientContext.get_web().get_lists().getByTitle(‘My tasks’); var camlQuery = new SP.CamlQuery(); camlQuery.set_viewXml(‘1‘); this.collListItem = oList.getItems(camlQuery); clientContext.load(collListItem, ‘Include(Id)’); clientContext.executeQueryAsync(onQuerySucceeded, onQueryFailed); alert(‘inside’+t); } function onQuerySucceeded(sender, args) { …

SharePoint 2010 Preloader

I’m wondering if there is any possible way to add a pre-loader like jQuery plugin to SharePoint. Not like when the page is fully loaded, show a loading gif. But something similar to SharePoint dialog box when you want to add a new item and you click on “add new item” and dialog box will …

Infopath Generate Unique ID

I have question about Infopath Forms. My condition is, I have an infopath form with multiple views. I have a workflow on form, that when the form is submitted, it passes through different views. Now when I save on each submit it creates different file(when I use function now()). So how to create unique name …