New answers tagged

0

have not tried these solutions yet, but it looks like they add publishing features to Foundation http://spf2013publishing.codeplex.com/ 2013 migration of the 2010 version https://mundpublishingfeatur.codeplex.com/ 2010 version


0

I would be reluctant to create a public website on SharePoint especially now that Microsoft has confirmed that they are dropping public website feature from SharePoint online. https://support.microsoft.com/en-gb/kb/3027254. If you decide to go with SharePoint online you will need development skills. Alternatively you can consider ASP.NET Open Source ...


1

In SharePoint 2013, JSON format is blocked from Central Admin. Below is the list of blocked format (by default) in SharePoint 2013: Manage Blocked F There are two work around for this problem. First one: Verify that you have the following administrative credentials. --You must be a farm administrator on the server. In Central Administration, ...


3

In Central Administration, navigate to Manage Web Applications. Highlight the Web Application you're uploading to, then click on Blocked File Types in the ribbon. Find the file type, in this case json, and remove it, then click OK. That should allow you to upload json files, unless there are restrictions imposed elsewhere (e.g. IIS Request Filtering).


1

I see that you use SharePoint online. So It's possible, but you don't set it at library level. Instead it should be set at site collection level. Just go to Site Collection Administration - > Site collection audit settings and select interesting events for you. After that you can generate report with Site Collection Administration - > Audit log reports


1

If you enable the audit logging on your site collection level then you can track it. You can use the audit feature of Microsoft SharePoint Server 2010 to track which users have taken what actions on the sites, content types, lists, libraries, list items, and library files of site collections If not, enable it now so you will get future ...


-2

NO You Cant Track. Not Possible. However You can see who last modified it.. but that will not be necessarily a permission modification.


0

After you're being sure test actually exists and is not null itself, try in that order: SPContentType test = web.AvailableContentTypes["test"]; newList.ContentTypesEnabled = true; newList.Update(); newList.ContentTypes.Add(test); First note that we need to update the list after setting ContentTypesEnabled to true (ContentTypesEnabled must be true so we ...


2

There's definitely no differences in this area (what I call the "core SharePoint API") between Foundation and Server. The problem is clearly elsewhere. Do you get an error, or simply nothing happens? I bet the latter, and consequently the problem would be in SiteExists(sSiteUrl). Are you sure sSiteUrl is a different one the second run? Can't you have a ...


0

I think I might be late answering your question. but for your future reference. On setting up the rules for the 'Submit' button we use, submit using Main Dataconnection and close the form. for 'Submit & New' button we can use, submit using the Main dataconnection and switch views. In the switch views try using the same default view which will appear when ...


1

If your trying to change the URL to point to another page but keep the same logo. You can go to the URL page you want and select and in the page ribbon select Make Homepage from the Page Actions. This will change the URL the logo leads to for your subsite.


1

To change the icon URL for a subsite, change the Logo URL property in the subsite's > site settings > Title, Description and Icon page. Just remember that the users of the subsite must also have read permissions to the place where you store the image.


2

You can try following script to rename provider. I have used it while migrating one domain to separate domain. Add-PSSnapin Microsoft.SharePoint.Powershell $web = Get-SPWeb -identity "http://Web Application URL" $user = $null $newuserID = $null $OlduserID = $null $OlduserID = 'i:0#.f|provider_old\{LoginName}' $newuserID = ...


0

In order to get instant redirect, you'd need to modify the timeout value, so the meta redirect would look like: <meta http-equiv="refresh" content="0;url=https://google"> That way of doing redirect has a side effect, you'd not be able to modify the original page through the standard SharePoint UI. If required to modify anything in future you should ...


1

I see that all default webpart page layouts reside in below layout path C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\1033\STS\DOCTEMP\SMARTPGS\ So in this path I will add my one page layout.Then add below code to create page based on the layout. string newFilename = textbox1.text; string templateFilename = ...


0

create a new JavaScript file, add jquery code for dropdown menu, save JavaScript in styles library,add a content editor web part on your page and reference your JavaScript file.


0

After much research I have found below details with which we can create a custom wiki page template. If we dive into the Wiki content type (I used sharepoint inspector to easily see the properties), you will see that when you create a new page, the "CreateWebPage.aspx" page is called on the layouts directory. So whenever you create a new item (wiki page) ...


0

Try this: Go into Site Settings. Under Site Collection Administration, select SharePoint Desginer Settings. Make sure "Enable Customizing Master Pages and Page Layouts" is selected. Then open SharePoint Designer and select All Files on the left menu. Choose "_catalogs" and then "masterpage." Copy one of the master page's HTML and Master page file (for ...


-1

Disclamer: I work for Sharegate. We released a report in our app exactly for that. It's called the Permissions Matrix Report: http://en.share-gate.com/blog/sharegate-sharepoint-office-365-security-improved


0

To link an existing List Workflow to the new list, I have used an approach described here and it worked for me (SharePoint 2013 on-premises). My situation: I had to copy existing subsite with List Workflow to other SharePoint farm. After Export-Import PowerShell command execution List Workflow lost list assotiation (on destination farm). Solution: ...


0

Installation of SharePoint is required on the machine on which you are running visual studio to Create SharePoint template projects like Empty SharePoint Project and few more. While creating SharePoint Add-In (Previously SharePoint App) you need not to have SharePoint server installation on the same machine. SharePoint Add-In's are meant to be for non ...


1

With Workflows you can use Create List Item and Update List Item actions so that whenever a user adds a value for Blue the amount will be added in another list's column which contains the previous amounts already.


0

I come across this situation recently. User profile service can give lot of headache from different angles. Stop the UPS services again using powershell and login to the server using the SP_FARM account. Now go to ** Manage Services on the server** and start the "User Profile Services". Now wait for 5 minutes and check the services will be running.


0

Are you performing this action using a farm account? User profile sync will only start using a farm account.


0

Do you have an Office 365 SharePoint site? If yes, did you use its URL when creating the project, on that screen:? Instead of your workstation name, you need to enter the URL of a real SharePoint site (either an Office 365 developer site -create one by following the link in the dialog, or an on-premises SharePoint farm).


0

Are u sure you have correct version of office developer tools installed? Try uninstalling office developer tools and reinstall from this location http://aka.ms/OfficeDevToolsForVS2015


1

Your problem comes because of the Minimal Download Strategy feature. MDS (new in SP2013, and activated by default on every Team Site) is a real pain the ass. You can deactivate it on a per-site basis ("Site settings", "Manage Site Features" and disable "Minimal Download Strategy").


0

Using Designer Workflow on item create: Call a REST query with the current item id: lists/getbytitle('Custom%20List')/items(1)/attachmentfiles Loop through each attachment and add the url of it in multiline text column in the same list. Send the email with the column in it.


0

You are getting this error since SP.Folder resource does not expose Approve method (the list of methods for SP.Folder resource are listed here) You could consider the following solution to approve folder: function approveFolder(webUrl,folderUrl,comments){ var endpointUrl = webUrl + "/_api/web/getfolderbyserverrelativeurl('" + folderUrl + ...


3

If you don't want _layouts/15/start.aspx to be a part of your URL you need to deactivate Minimal Download Strategy feature available under Site Actions -> Manager Site Features


1

It doesn't matter. You can try browse http://server/ and it will redirect to http://server/_layouts/15/start.aspx#/. When you need the address to run sometimes (e.g. Connect with SharePoint Designer, run a PowerShell command, or send the URL to some user) always use http://server/, not http://server/_layouts/15/start.aspx#/ or http://server/start.aspx#/


0

So basically you are going to have to access the list items in the menu and then set the colours from there. You will have to access the item by it's class as the ID is dynamically created so: var nodeList= document.getElementsByClassName("ms-core-listMenu-root"); var listItems = nodeList[0]; You will then have to set the colour of each item in the list: ...


0

Using Powershall Script , change list URL. Add-PSSnapin Microsoft.SharePoint.PowerShell –erroraction SilentlyContinue $libOriginalUrl = "/Lists/YourLibName1"; $libNewUrl = "/YourLibName2"; $web = Get-SPWeb -Identity http://.... $lib = $web.GetList($web.Url + $libOriginalUrl) $rootFolder = $lib.RootFolder; $rootFolder.MoveTo($web.Url + $libNewUrl)


0

try use this: .ms-promlink-body{position: static;width: inherit;height: inherit;} .ms-promlink-header{display:none} In my SharePoint 2013 I have successfully with this code. reggards,


0

Make sure you have read permissions on the site. If you already have them, then try to assign yourself "colaborate" permissions.


0

Copy.asmx service is for copying files from one SharePoint site to other. Its not for copying data from a physical location to SharePoint. Check this: https://msdn.microsoft.com/en-us/library/copy(v=office.12).aspx


0

The cause of the problem is the way Visual Studio enourages you to deploy your package: with its built-in "F5"/"all-in-one" process. When you install/deploy a package from VS, VS does trigger all actions: WSP installation and deployment, and then feature activation. This means the feature is activated from inside the process "devenv.exe" (i.e. Visual ...


0

Just after you create your modal dialog, use JQuery to force the Css. jQuery('.ms-dlgContent').css('top','1px');


0

A single server SharePoint farm is just that, one server for all underlying components required to run SharePoint. This includes your database server, the databases, the web server, and SharePoint installation. It is the least complex configuration from a topology standpoint but is generally recommended as a non-production environment. Note that you will ...


0

I had the same problem and older advices did not work... after some hours of brainsqueezing I found the cause (in my case at least): in my library I had check-out required!!! As I turned it off, all workflow started working well


0

I know this is an old post, but I ran into this same issue today. The problem I had was that I was disposing the current web in the child control. I had a method that fetched a SPList object from a url. In doing so, I created an SPSite and an SPWeb object that were both getting disposed in a Finally block. If the url was relative, I used ...


4

When Collapsed is selected: Your list will appear like this by default: When Expanded is selected: Your list will appear like this by default:


2

"Collapsed" means that when the users first get to the page, all group sections will be closed. "Expanded" means that when users first get to the page, all group sections will be open.


1

modified the list.BreakRoleInheritance as list.BreakRoleInheritance(false,true); and it worked!!!


1

Delete the group and then add it back, list.RoleAssignments.GetByPrincipal(GRoup1).DeleteObject(); add above code after breaking permission and before updating list. Your code will be as var GRoup1 = cpx.Web.SiteGroups.GetByName(groupName); list.RoleAssignments.GetByPrincipal(GRoup1).DeleteObject(); list.BreakRoleInheritance(true, false); try and let ...


1

You can use the below code, Add Microsoft.SharePoint and Microsoft.SharePoint.Security Namespaces. public static int GetItemCount(string SiteUrl, string listName, string viewName) { int count = 0; try { SPListItemCollection items = null; SPSecurity.RunWithElevatedPrivileges(delegate() { ...


1

You can use SpServices to achieve this, it will happen in 2 steps: Get all list names in an Array (below I'm logging it but you'll need to push it to an Array) $().SPServices({ operation: "GetListCollection", completefunc: function( xData, Status ) { console.log( Status ); console.log( xData.responseText ); $( ...


0

You can use the below code to get count of items for particular list view using (SPSite oSiteCollection = new SPSite(strUrl)) { using(SPWeb oWebsite = oSiteCollection.AllWebs["Website_Name"]) { SPList oList = oWebsite.Lists["List_Name"]; string viewGUID = list.Views["View_Name"].ID.ToString("B").ToUpper(); SPQuery query = new SPQuery() ...


0

Here are step-by-step instructions to do just that. Let me know if you have questions. http://techriosity.com/installing-sharepoint-2010-in-a-local-virtual-machine-part-1/


0

Thanks @Danny Engelman, this got me over the line Solution in the end was: var itemID = GetUrlKeyValue('EventID'); document.querySelector("[title='EventID Required Field']").value = itemID;



Top 50 recent answers are included