New answers tagged

0

the code below fixed the problem: $webApp = $db.WebApplication $user = $env:USERDOMAIN+"\"+$env:USERNAME $webApp.GrantAccessToProcessIdentity($user)


0

A Managed Account is an Active Directory user account whose credentials are managed by and contained within SharePoint. In addition to storing the credentials of the object, Microsoft SharePoint Server 2010/2013 can also leverage Active Directory Domain Policies to automatically reset passwords while meeting the requirements established by policy.What you ...


2

To go more precise I would like to code it in following manner. if (Request.QueryString.Count > 0) { string urlSource = Request.QueryString["Source"]; if (!String.IsNullOrEmpty(urlSource)) { int pos = urlSource.LastIndexOf(@"/"); String newUrl = urlSource.Substring(0, pos + 1) + "/AllItems.aspx"; ...


2

If I understood you correctly, then following is your requirement. Checking whether Source exists in query string or not If it exists, then redirect to that URL Example string source = Request.QueryString["Source"]; if (source != "") { SPUtility.Redirect(source, SPRedirectFlags.Default, HttpContext.Current); }


0

I need to import a .csv file with following fields: GroupName,Managed_by,PrimarySmtpAddress,Members Managed_by and Members are columns (People and Group) and both have multiple users separated ";" Kindly advise


0

If there are too many data bars than labels will not show. To fix this, under the "Chart Axis" properties set the Interval value to "=1". Then all the labels will be shown.


0

Item deletion will not trigger your workflow so your month total list is not updated. What you could do, instead of delete the item, is to mark an item as deleted (an additional yes/no field ) and exclude deleted (marked as deleted) items from the sum action in your workflow. Or you could change the item value to 0 (and delete it afterwards) which should ...


0

A no code option would be to use SharePoint Designer for creating an agregated view of all 3 lists. SPD offers the option to create a "linked source" where you can have multiple lists acting like one data source. Once linked you can add filters and define your overview using a data view webpart. Please have a look here for an example.


0

Using content search web part is ideal, however, I am no aware of any way to connect the 3 lists in the query text. My suggestions to you is to use Web Part connections and you can play with the views to show a connection with no Commissions You can connect data in web parts using web part connections. Here is a good article on the subject!


0

I know this question is a bit old. Am putting my solution for others who might have similar requirements, this is how I did it in my project using javascript: https://wditot.wordpress.com/2016/02/02/sharepoint-2013-disable-multiple-columns-in-quick-edit/ Alternative method The code uses javascript, so for folks who do not want to get their hands dirty: ...


3

I believe there is no error in creating Web Application. Based on this approach I am trying to help. You need to create any Site Collection into it, Web Application cannot be opened directly. You can create a root level Site Collection. As you are new to SharePoint 2013 you can go through Create a Web Application and Site Collection in SharePoint 2013 Let ...


1

Choice field maximum value : 255 & size of column: 30 bytes Choice (multiple selection) field maximum value: 350 & size of column: 22 bytes Reference: Software boundaries and limits for SharePoint 2013


0

Why don't you go for a Lookup field? Create a Separate List with Hindu Muslim and Christian category with their corresponding values and then call this list as a lookup column in your List. You will get easy guidance on creating lookup fields in internet.


2

The NewDocSet.aspx Page If you look at the URL of this page you'll see it looks something like http://site/_layouts/15/NewDocSet.aspx You can see that NewDocSet.aspx lives in the LAYOUTS folder of SharePoint's "hive". This is a term that just refers to SharePoint's installation location on the server. The hive on the server will be at C:\Program ...


2

Brief: Document Libraries and List are two different things. Both holds different content type. If you Allow Management of Content Types via List Settings > Advanced Settings, you will observe the content type that are available for document library are not available for a List like Custom List and vice-versa. Solution: But to address your requirement you ...


0

The only way to make search results pointing to custom presentation is to move the presentation from custom page to a new list item display form and setting it to be a default display form.


2

Try <div><img src="image.jpg" /></div>


1

In your SharePoint Online workflow set up these steps: Use the "Set Workflow Variable" activity, call your variable indunits_a. Set the "value" portion of this activity to the value of the item in List A. You will need to know the name of the list, i.e. List A, the name of the field i.e. INDUNITS, and the ID of the item in List A. Use the same activity ...


0

As per the answer to my question in the comments, I think your problem is session affinity. If you have multiple Web front-ends in your SharePoint farm, and a load-balancer dispatching requests to one of these SP servers: a first request may be routed to server A, then the session is created, and when a second request is issued by the client, it may be ...


0

You could list everyone in a standard SharePoint List and make the searchbox do filtering on every keystroke with some code in a Calculated Column http://viewmaster365.com/#/Create/SearchFilter


0

You could also create a document that contains all the contact info, maybe an Excel spreadsheet would work best? Search will index that and then you could make a trimmed search that would only return results from that document. Tag the search bar "Company Directory" and that'd be that.


0

You can create a contact list and add names and phones, and with the magic of JSLink you can change the look of it to suit your UI needs


0

Yes, it is possible to change the default calendar view. Create a new view with all the filters and columns you need. After confirming that the view works as expected, edit the view again and tick the box to make it the default view for the list. Edit after comments: It seems that what you REALLY want is a way to filter the view to show items for the ...


0

You can try to create a view and filter on Attendees = [ME]


1

Using the below code you can achieve this. It allows to set the redirection on the client-side $(document).ready(function() { var button = $("input[id$=SaveItem]"); // change redirection behavior button.removeAttr("onclick"); button.click(function() { var elementName = $(this).attr("name"); var aspForm = ...


0

Using below mentioned trick you can change the button's redirection behavior in Display or Edit form. Change SharePoint List “Display Item Form” Close Button Default Redirect Location I hope it works for you. Thanks.


0

It's possible to retrieve the current server time, including a three-letter week day, using the Call HTTP Web Service action: Make a HTTP request to [%Workflow Context:Current Site URL%]_api then extract the Date header from the response headers using the Get an Item from a Dictionary action, with the path Date/(0). The date will be returned in the format ...


1

What is Survey in SharePoint 2013? Survey a special kind of list that enables the owner to create questions, have multiple people to respond, and summarize the results. You can use surveys to ask people what they think about issues, how to improve your processes, and many other topics. You can collect the results by using several different types of ...


0

I have never seen a solution move perfectly between environments. Even with columns provisioned via PowerShell using the same GUID between environments, SharePoint Designer workflows are notorious for breaking upon deployment. Once the workflow is imported into the target destination, be sure to open up the workflow and look for any strange things. Namely ...


0

it seems to be a known issue in Sharepoint 2013. You could have multiple slideshow webparts on a page in 2010, but this will not work in 2013. I have the same result when I test it in my Sharepoint 2013 environment.


2

Author is the person who created the item. It is assigned once the item is created and never changed. Editor is changed every time item is modified. Better use SPFieldUserValue to retrieve SPUser. foreach (SPListItem item in myItemCol) { SPFieldUserValue usrAuthor = new SPFieldUserValue(SPContext.Current.Web, item["Author"].ToString()); author = ...


0

SharePoint Designer workflows can be exported to solution files and then imported in a different Site Collection or a different SharePoint Farm. Now they can even be opened in Visual Studio, although it’s not a reversible process and once opened in Visual Studio they can’t be changed using SharePoint Designer anymore. you can save the workflow as a .wsp ...


0

In sharePoint 2013 Web Analytics has been completely redesigned and Web Analytics Service Application has been replaced with Analytics engine. For this you need Search Service Application. As per Technet, this feature is not available for SharePoint Foundation 2013.Read below Article and look for Analytics Platform. SharePoint feature availability across ...


1

You need to have SharePoint server 2013 because now Analytics are a part of Search service in SharePoint 2013. It is surely not available in SharePoint Foundation 2013 There is much confusion around the SharePoint community on whether or not web analytics works in SharePoint Foundation 2013. After working on numerous SharePoint 2013 environments, ...


0

This is really good solution. It work for me http://yasingokhanyuksel.blogspot.com.tr/2016/04/sharepoint-survey-image-question.html


0

What you installed is SharePoint client components SDK, in order to write any managed code for InfoPath you need to install visual studio tools for applications VSTA.


0

So you have not mapped the DocumentCategories to RefinableStringxx??? I guess you should map it to RefinableStringxx (providing that DocumentCategory returns text (data type). Once you do that, you should be able to write your query as follows: path:"server-sharep/abc*" FileExtension:pdf (IsDocument:"True" OR contentclass:"STS_ListItem") ...


0

Your "DocumentCategories" must be searchable under generic keyword search, in order to use it in the refiner. Find the crawled property for the "DocumentCategories" in the search schema and then create a refinable Managed Property and add this crawled property in the mapping. Use this new managed property in the refiner webpart.


1

Go to library settings and in advanced settings, check "Allow management of content types" as yes. This will prompt the form to fill in the columns. Alternatively, you can also set any of the columns as required to prompt the form to fill the column values.


2

You can simply use the SharePoint Management Shell instead which has pathing for psconfig, but instead, use PowerShell. Initialize-SPResourceSecurity is the replacement for that specific command.


2

Given you did not reference your SQL Server by IP address when building the farm, the process is straight forward. Update the IP address. If you used the SQL Server hostname (computer name) on the farm, just wait for the IP address to update in DNS. If you used a custom A record, update the custom A record to point to the new IP address.


0

If you don't have a content type hub provisioned or available, another option is to utilize a Site Assets library (or Style Library) in a site collection everyone has access to. This could be your root site collection or your search site collection. You could create your own script center site collection where you (and others) could store scripts usable by ...


1

Best is to investigate the ContentType Hub, a SiteCollection for storing (besides ContentTypes) any content you want to share With JSLink you can reference files in any other Site Collection with a absolute URL, just remember the User needs read access On Office365 you can reference files from any location Update #1 And.. On Prem... SharePoint runs on ...


0

If I remember correctly, it should be like that: ImageFieldValue imgField = new ImageFieldValue(); imgField.ImageUrl = "/SiteAssets/DefImg.png"; currentItem["Fotografia"] = imgField; I also found this code online that can be helpful: class Program { static void Main(string[] args) { try { using (SPSite site = new ...


2

If the site is not available in 1st and 2nd stage recycle bin then that means it is gone completely. Now the only option is to restore it from Backup. If you have backup of your site collection then restore just before you deleted the subsite. If you have content DB backup then restore it and using the Unattached Content Database recovery and export the ...


1

Below given solution covers all SharePoint error pages To configure SharePoint Foundation server or SharePoint Server 2010 to point to a custom 404 error Web page, follow these steps. Log on to the computer that is running SharePoint Server 2010 by using an account that has administrative permissions. In Windows Explorer, locate the ...


1

You can use below PowerShell command to set Require Check Out feature on each document library on all sites foreach ($web in (Get-SPSite -Limit All | Get-SPWeb -Limit All)) { Write-Host “Processing Web: $($web.Url)…” foreach ($list in ($web.Lists | ? {$_ -is [Microsoft.SharePoint.SPDocumentLibrary]})) { ...


1

You can easily do it with PowerShell script.It is having attribute $list.ForceCheckout = $true for more reference you can refer this Change SharePoint list settings using PowerShell - Part 1: General and Versioning Please let me know if it help you. Thanks


1

This is the solution (: SPList wayList = web.Lists["WayBill"]; SPFieldChoice dropdown = wayList.Fields.GetFieldByInternalName("Company") as SPFieldChoice; foreach (string choiceName in dropdown .Choices) { ddCompany.Items.Add(choiceName); }


0

You could set a few variables and use a workflow lookup to set their values. Click the Fx button to open the lookup dialog In the Data Source drop-down, select the client list. use the next drop-down to select the desired field in the section "Find List Item" select the field by which you want to identify the client, e.g. "ClientCode" in the value box ...



Top 50 recent answers are included