Tag Info

New answers tagged

1

You can write an event receiver for your list that handles permissions of the item. You should use ItemAdded event receiver. Some links event receivers: https://msdn.microsoft.com/en-us/library/office/ms437502(v=office.14).aspx https://msdn.microsoft.com/en-us/library/office/ms453149(v=office.14).aspx and link about managing permissions ...


0

The answer fro AbrahamJP worked for me just fine! Thanks man, was struggling with that issue for 2 days. My laptop turned off due to battery exhaustion, I think this is the reason of creation of those annoying temp files. Clearing OfficeFileCache fixed the issue.


0

are you using the network service account for the restore? why not use the regular with local admin rights on the server and permission on DB server. if you want to set the permission on registry then follow this: Open the registry by run regedit on the server where the SP2010 is installed. Go to HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\OFFICE SERVER\14.0 ...


0

You dont to reset the index if you just want new content coming to this component. But if you want to divide the content equally then Reset the Index and perform a Full Crawl. Or if you see any issue after adding new crawl DB i.e crawling on content source not completed etc.then you need a index reset followed by full crawl.


0

As you said, if perform IIS reset then it work fine for couple of min/hour then goes down. this make sense as 98% usage of memory of 32 GB is alot, Couple of things to check. why Memory usage is too high, How many App pool running on the server. Try to stop unused App Pool and Unwanted services from SharePoint If you have customization on your site then ...


-1

Have you checked out CloudShare? It seems that by your question, their platform will definitely assist you. They provide on-demand IT environments and their platform is a self service SaaS which enables you to do what you wrote, develop an application without battling for IT resources. All the Infrastructure is taken care of, including server setup, ...


0

Their is no backward compatibility for services application so that you cannt use the 2010 services in the SharePoint 2013. Reason is simple, SharePoint 2013 have more features then the old versions, when you try to get a data from lower end edition it will throws the error because New version will ask more stuff(features / option) which are not present in ...


0

I've noticed that setting LookupList and LookupWebId does not always work. Therefor, I have a function that replaces XML attributes in field's schema. Take a look at the following code: public static string ReplaceXmlAttributeValue(string xml, string attributeName, string value) { if (string.IsNullOrEmpty(xml)) { throw new ...


0

Resolved: As it turned out, the Windows groups were Domain Local groups. We only have a single forest/single domain, so I'm not sure why it mattered, but once we changed them to either Universal or Global groups, Sharepoint was able to resolve membership.


0

Out of the Box you can configure External SQL Server with SharePoint. For that you can use Business Connectivity Services (Also you can use Secure Store for storing credentials required to connect to SQL) Once this is done you can create External Lists. This will bring back data from SQL and make it available in SharePoint. You can define what all ...


0

In Sharepoint 2013, when you activate Server Publishing Infrastructure, you will also lose the Quick Launch and Top Link Bar menu items from the Site Settings menu. This should not happen but it does.


0

private SPListItem CopyItem(SPListItem sourceItem, string destinationListName) { //Copy sourceItem to destinationList SPList destinationList = sourceItem.Web.Lists[destinationListName]; SPListItem targetItem = destinationList.Items.Add(); foreach (SPField f in sourceItem.Fields) { //Copy all except attachments. if ...


0

Not necessarily. There are some built-in fields (like "Last_x0020_Modified", "Created_x0020_Date") that are lookup fields, but without any lookup list in the background. These are handled by SharePoint internally, and not very well documented.


1

I needed a simple method to determine if there was at least on error in a form field on any of the tabs. Because ms-error is present in the DOM before an error has occurred (people picker), I had to find a different way. Also, because different fields render the error message in different ways, I had to account for all methods in my form. What I ended up ...


0

Analytics are divide into 3 categories Traffic, Search, Inventory, your answer is in the Traffic category. If you go the Site collection web analytics reports or Site Web Analytics reports on that page you will see Summary and left hand side under the Traffic, you will see the top pages. I think this is what you looking for. Top Pages: Most viewed pages ...


0

You should open web part maintenance page. (appending query string contents=1) Then remove all web parts, then add one by one. This way you can find which webpart is causing the issue.


0

To redirect the save or cancel button, simply: Open the list you want to modify the button in SP Designer Click on the button you want to modify - ex, I am modifying the cancel button to take me back to the home page In the tag properties, under the "redirectURL" property type your custom url - im my example, <SharePoint:GoBackButton runat="server" ...


0

You can use Site Settings -> Navigation for changing links. Once you open up that page scroll down to see Quick Launch. Select the link and edit it.


0

Go to Site Actions, SIte Settings and click on the Quick Launch link (or it will be the Navigation link if publishing is being utilized). There you will be able to edit the link text.


0

Sometimes running as administrator does not work if the administrator does not have proper database / shell permissions, either. In that case, hold down shift and right-click on the PowerShell icon. Choose to run as a different user and run PowerShell as the farm account. Now you should be able to use Quinn Johns' answer to grant shell access to other ...


0

I assume it is by design. I can reproduce it if the lookup field can contain multiple references. If it is single lookup column, there is no error.


0

Steps by Steps method How to Move Files Between SharePoint Document Libraries In a document library, hover the mouse pointer over the document you want to move. A check box appears on the left and a list arrow on the right. click the Send To button. Select Other Location. The Copy dialog box appears. Type the destination or paste the URL, and then make ...


1

Agreed with @ps. You can create a SharePoint Designer workflow that uses "Pause for duration" action, setting its value as 7 days. When we add an item in a list/library, the date columns "Created" and "Modified" are always same unless you update the item. After an item update "Modified" date column is updated. Your workflow will trigger on item creation and ...


1

If you are using SharePoint designer, you can use "Pause for duration" or "Pause until date" action in your workflow. Using this action workflow will wait till that duration and then it will trigger. Set workflow to run when item added and item updated. For example you can refer this link.


0

After trying a million different things to get the display form to print correctly without truncating the table, I finally gave up and moved to js for a solution. I would still love a cleaner css-only fix if possible, but this works for me. As a bonus, this even works if the form is in a modal popup. I added a content editor webpart to the display form ...


0

My understanding is that the field values are stored the same under the hood no matter what the display format is. The decimal format is merely how the UI renders the value and does not affect the storage size of the value as they are all of type number when creating the column.


0

It seems like a limitation of embed tag. You can use an iframe instead <iframe id="ExampleEmbed" src="somfile" height="850" width="850"></iframe> <script> function ChangeSrc(qsValue) { document.getElementById("ExampleEmbed").src=qsValue; } </script> Update <div id="embedDiv"> <object> <embed ...


0

Step By step Simple tutoria is below hope this might be a help http://sharepoint.kerenapura.com/2013/09/display-sharepoint-list-data-gridview/


2

Please update the code of bindToGrid() as below: protected void bindToGrid() { SPWeb web = SPContext.Current.Web; //SPList list = web.Lists["Employee"]; SPView spView = web.Lists["Employee"].Views[<YOURVIEWNAME>]; SPQuery spQuery = new SPQuery(spView); //SPListItemCollection items = list.Items; SPListItemCollection items = ...


0

You can do this through javascript. If you pass the querystring in the URL, you can fetch it with javascript and update the embed element. How to get querystring. Code from answer, below: function getParameterByName(name) { name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), ...


0

Gets or sets the URL to which users are redirected when they browse to the folder. A string that contains the URL to which users are redirected. For a wiki site, the string specifies a site-relative URL, for example, MyWikiFolder/MyWelcomePage.aspx, but for a wiki library, the string specifies a folder-relative URL, for example, MyWelcome.aspx. ...


0

When you run into the issue “HTTP Error 503, the service is unavailable” when you launch the website through IIS (Internet Information Services), you will end up seeing the following message: To remediate the issue, you will need to open IIS Manager (inetmgr.exe). This error is caused because specific website Application Pools were stopped or disabled by ...


0

That property is used by Publishing sites to set the Home Page. SPWeb.RootFolder.WelcomePage You can also use similar technic to set List welcome page SPList.RootFolder.WelcomePage We can't have a welcome page for each of the sub folders. Folder is a container of items and it doesn't make sense to have a separate welcome page for folders.


0

I faced the same problem, but couldn't install Search Server Express (won't install on Windows 7) nor could I install SharePoint 2010 (not Foundation) to copy the required DLLs. OS: Windows 7 Professional VS: Visual Studio Professional 2013 SP: SharePoint Foundation 2010 My steps to get this working: Download Search Server Express Extract: ...


0

This Search Error is not related to the backup as far i know. couple of thing to check and make sure. For Backup Go to Central admin > Monotroing > Timer Job Status...on this page see if you can find a running backup/retore job, Cancel that one and then perform the backup again. For Search. Looks like your crawler unable to reach the WFE. To fix this, ...


1

Your CentralAdmin might be in a different timezone than your servers. Why is central admin time different from server time?


0

My first guess would be custom code in SPFeatureReceiver.FeatureInstalled in one of the Features which is in that Solution.


1

ListItem["FileRef"] returns server relative url of list item, in case of Discussion item the format is as follows: /Lists/Discussion/<Topic title> Example: var list = ctx.Web.Lists.GetByTitle("Discussion"); var t = Utility.CreateNewDiscussion(ctx, list, templateSubject); t["Body"] = templateBody; t.Update(); ctx.Load(t); ctx.ExecuteQuery(); var ...


1

The following example demonstrates how to reorder fields in content type using CSOM var ctId = "0x01020047F5B07616CECD46AADA9B5B65CAFB75"; //Event ct var listTitle = "Calendar"; using (var ctx = new ClientContext(webUri)) { var list = ctx.Web.Lists.GetByTitle(listTitle); var contentType = list.ContentTypes.GetById(ctId); //retrieve fields ...


0

I came here with the identical symptoms described in the question. This is what solved it for me: In the list that generates the task (So the one the approval workflow is triggered from) --> List Settings --> Advanced Settings: Under Item-level permissions --> Read access ensure that Read all items is selected.


1

Run the command to find hidden features as suggested previously. If that doesn't help, run SharePoint 2010 Management Shell from one of the SharePoint servers and type: Install-SPFeature -ScanForFeatures This will show you any features that are available in SharePoint but have not been installed. You can install any missing features using the command: ...


2

It appears I was simply missing accurate domain information. My "user" variable changed to include the domain name and user name combined allowed me to finally remove a user from the group. function deleteClick(arrayPos){ var group = userArray[arrayPos][0]; //group name var user = userArray[arrayPos][1]; //user.name var domain = ...


1

Try adding: context.Response.AddHeader("content-disposition", "attachment;filename=" + file.Name);


0

Another way using only the UI can be this. First create a calculated column with formula as =TEXT(Modified,"h") This would return 8 if the item is modified between (inclusive of endpoints) 8:00am to 8:59am. You can now use this column to filter. Create a new view and use the same formula for Modified as you shown in screenshot in your question. Select ...


1

Add the reference using System.Collections.ObjectModel; to the file.


0

Simple.. If you want to filter a choice field with name "color" just give like this: $filter=colorValue eq 'blue'&$expand=color Just append Value with column name. here colorValue


1

You should pass a SPQuery object to the GetItems method. In the query attribute you have to put just the <Query> tag. Use: SPQUery query = new SPQuery(); query.Query = "" //your <Query>...</Query> tag //for all your view field query.ViewFields ="<FieldRef Name='ID'/>" To specify the row limit use: query.RowLimit = 100; To ...


1

We can't put calculation formulas in filter text so something like Today()+8 etc will not work. Two work arounds Use CSR/JSLinks to hide rows which don't fall in that time period. Use query string filtering. I.e. calculate the date range and sent it via query string ( ex: on link click which open the view page)


2

Every document has several properties, such as ModifiedBy, Author, etc. You can display them using, e.g. $ctx.Load($document) $ctx.ExecuteQuery() Write-Host $document.Author What you will receive, however, here will look like: SharePoint.User.User You will need to load the users separately from the documents, otherwise you will get only the name of the ...


0

Try to run this to check if the schedule is right: Get-SPTimerJob -WebApplication "http://yourWebAppUrl" | select Name, DisplayName,Schedule | where-object{$_.Name -eq "TimeJobName"} | ft -autosize Myabe someone fired it manually? or maybe is it fired programmatically?



Top 50 recent answers are included