Tag Info

New answers tagged

0

did you try to save that template using "include the content" option? When you save your SharePoint site as a template, you’re saving the overall framework of the site – its lists and libraries, views and forms, and workflows. In addition to these components, you can include the contents of the site in the template, for example, the documents ...


0

The following approach works for me. Instead of casting, I use the Properties collection. You would of course have to change the creation of the context / authentication and the way you look for the specific WebPart which in this case is done by title. using System; using System.Linq; using Microsoft.SharePoint.Client; using ...


1

No SQL Server 2008 is not part of SP Foundation 2010. are you sure it is installed along with SPF 2010 installation? SQL Server is not free and you need to have a license for it.


0

SharePoint does not do stuff like this out of the box. You will need code in some way. Either a custom workflow, or Javascript in the list form. The SPServices library by Marc Anderson has the JS based tools, but it has a learning curve, especially if you are not familiar with JS and JQuery.


0

You have to use AllProperties. Adding a new property bag: $web.AllProperties.Add("Key", "Value") $web.Update() Changing the property: $web.AllProperties["Key"] = "New Value" $web.Update() Retrieving the property: $value = $web.AllProperties["Key"] Hope this helps! ;)


-1

I've had the same problem. In my case, I had set the site for everyone to have "View only" permissions. Once I changed it to "Read only" the theme showed up.


0

I managed to do it with a power point presentation by using the PAGE VIEWER WEB PART. Displaying it as a web page and placing the link to the xlsx workbook. The excel web part is better tho.


0

At times when Restore-SPSite PowerShell commands fail, the STSADM commands have worked for me occasionally. You could give it a shot. stsadm -o restore -url "siteurl" -filename "backupfilename" That being said, as rightly pointed out by Waqas, upgrading the environments to the right CU is the recommended option. If interested, you can check out few ...


0

You can develop Event Receivers, Timer Jobs and WebParts for SharePoint 2013 Foundation - as sandbox or farm solutions. However, you can't use "Business Data" and "OOTB Recommendations" Webparts as these are not available in SharePoint 2013 Foundation. I find this resource helpful when comparing SharePoint 2013 versions: ...


1

The reasons to use content types rather than adding columns: If you have two disparate types of information in one list/library. ex: A list that has purchase requests for new employees and for new equipment. If you are going to use the same type of information on multiple sites/lists/libraries. ex: You have a content type that inherits from document that ...


1

That should work for most needs. You don't have some of the template features for the look and feel, and a lot of the advanced document management stuff isn't in Foundations, but basic document libraries are there and that works for most people's needs if they just want a repository.


0

You can filter each column by every value this column has. Just click in the title name and select the value you want to filter.


0

There's no need to make a request to the server when the userid is already loaded in browser. You can use: _spPageContextInfo.userId available in SharePoint 2013 and Online (wave 16).


0

Microsoft recently published a method of doing this for Office365 here: https://msdn.microsoft.com/en-us/library/office/dn904536.aspx The bottom block of code handles the upload of a large file in chunks (you can specify the size). I found what I consider a bug in their code gave me problems from within a provider hosted app (but not from within a console ...


1

Images in Publishing Library should be published to enabled caching. If not, the the image response will include 304, which will need to go back to the server to check if the image has changed. Though 304 requests are served from browser cache, it still has to take a roundtrip to server to confirm the image has not changed. Hope it helps.


0

I think Content Type hub is best solution because even you can create content types using features across site collections, however any updates made to the content types cannot be easily propogated to different site collections. Only CTH will give you this functionality. Content Types Synchronization across Site Collections


0

If you have SharePoint on-premises this code should work: ClientContext m_Context = new ClientContext(SiteUrl); NetworkCredential credentials = new NetworkCredential(Username, Password); m_Context.Credentials = credentials; If you would like to connect to SharePoint Online, the code should look like this (this will popup Office 365 login screen for user): ...


0

This may help you. 1) Go to the AppInstallations table in the content DB. 2) Select the recode related to your app 3) Update the status to 5 4) Do IIS Reset 5) Navigate to Site content and go to the context menu of the Corrupted app 6) Click the “Remove” Link More details: http://sujeewa.com/2015/06/remove-corrupted-app-from-the-farm/


2

You would need to create a site collection scoped feature that would create them and add them to the content type gallery if you are not going to use a content type hub. This makes upkeep much more complex, so I'd encourage the use of a hub if possible.


0

You can use the Dom/debug in the browser(press F12) then find the 'name =" "' atribute of the column. Then use that name with Spservcies. For my example I trigger my wf by updating a column then returning a workflow status colmn value: function CopyStrategyDocuments(StrategyDocID, StrategyDocLocation){ $().SPServices({ ...


0

As per my experience in past, it is very hard to copy the VMs and get a working SharePoint farm. SharePoint for some reason don't like it especially Config DB. I would highly recomend that re create the Config DB( rebuilding the Farm) otherwise you will see alot unknown errors. if your central admin is working, then do the following things. Central admin ...


0

Here is an answer to this mystery. After almost 9 months of utter misery we finally found that the source of the problem was in global.asax. More specifically, we replace SpHttpApplication with our custom class that inherits from SpHttpApplication. Standard SharePoint's global.asax looks like this: <%@ Application Language="C#" ...


0

Okay, I found a solution from some blog posts and other questions. Turns out that view pages can be edited under the setting menu. There's an edit option there!! WHAT?! I've added an HTML Form Web Part and inserted my CSS according to this article: http://davidlozzi.com/2012/06/20/customize-the-sharepoint-calendar-colors/


2

If you access this from the server itself what happens? If you get a good page the problem is in the delivery (you may need to add your URL for loop back exemption before you can do this). you probably have a application firewall and/or proxy device between the workstation you are browsing from and the servers them selves, blocking the traffic. If for some ...


0

I figured out the way for this listItem.set_item('FieldName',valueToBeSet); listItem.update(); var context = SP.ClientContext.get_current(); context.executeQueryAsync(Function.createDelegate(this,this.onQuerySucceeded), Function.createDelegate(this, this.onQueryFailed)); This solved the problem


0

Solution: what i explore by my self , after few days by searching and experiment ... This solution is to resolve this issue, install the hotfixes that are provided in the following articles in the Microsoft Knowledge Base: 2687614 (http://support.microsoft.com/kb/2687614/ ) Description of the SharePoint Server 2010 hotfix package ...


0

I have also faced this kind of issue while creating an approval workflow. There is a strange behavior I found in logs. After adding a Log to History list action, Set an action of Pause. This will resolve the issue, just try to add pause of 1 min after each Log to history list action.


0

Create a new newform and try there. The default one works a little differently. After changing you can make the changed forms The default new/edit form. Alternatively when in the browser go to the list menu and find the form edit buttons. Click the form you want to edit and add a content editor webpart to the bottom. Either link to the JavaScript in a file ...


0

I haven't done it, but I have heard that Display Templates are supported in Foundation. You just need to get them from server and drop them into the Master Page Catalog. It's worth a try.


0

Why do you do this ListBox1 = new System.Web.UI.WebControls.ListBox(); You obviously already have the Listbox added in your .ascx. No need to create a new object. Just remove these lines.


0

I know this is an old post but I compare current address to ('https://yourURL/_api/Web/FirstUniqueAncestorSecurableObject').d.Url. If they are equal, I assume I'm talking to the site collection. Please correct me if that is off base but I hope this may help someone in the future.


0

When you save as template it scope to site and in order to globally deployment you need to import into Visual studio and change it from Site/ web to Global. Another workaround mentioned by the ToddKnit, i think is good. here are few steps. Save the site collection as template. Now go to the solution gallery and download the newly created template. Now ...


0

I faced same problem, but now i resolved it. The main part of problem was that assemby which is created wit Visual Studio and deployed to sharepoint is not accessible by aspx created by sharepoint designer or another tool. So you need to add reference to this assembly to aspx itself or webcofig of sharepoint site. If you would like to add it to aspx page ...


0

I am thinking two solution for this scenario. Implement the ADFS authentication, this will by pass the domain prefix. other thought is configure the Basic Authentication for the web app.But one thing keep in mind, Basic authentication enables a web browser to provide credentials when the browser makes a request during an HTTP transaction. Because ...


2

You cant get this done OOTB, the only way you can fix OOTB is increase their permission level to read to all. you can create a workflow which sent the notification when the item added. Or you can try to create a event receiver for same. Another approach is subscribing to the RSS feed of list.


0

This behavior is not unique to your domain trust configuration, it's this way with traditional domain deployments as well. Typically when you see the logon prompt it will show you the domain you are trying to logon to. If this is already the correct domain you don't have to prefix (or use UPN). If this is not the correct domain then you must specify it as ...


0

I think the fact it started working on a new domain albeit with a login prompt was a coincidence but without any real detail about the original problem it would be hard to determine the issue. SharePoint install and config does not make any changes to AD. The person installing SharePoint on the other hand... It sounds like a simple install so I'll hazard a ...


0

It depends on your requirements. The webpart that displays that image is just a static link to an image, so the only way that could change is if you created several distinct document set content types and changed the image for each content type. So, you'd have a Finance Docset content type with one welcome page image, an HR docset content type with ...


1

Check password for this user XYZ\mc-sps3e-pool, maybe it was expired or changed. Also check if your AD is up and running.


0

This seems to be an issue with your environment since we're having the same setup and it's working like a charm. Since you're still using SharePoint 2013 Foundation RTM I strongly suggest you upgrade to at least SP1 since it's not supported anymore. Using the May 2015 CU could improve your experience further. You could try to restart owstimer and/or the ...


1

You can use the powershell command. first export the subsite [Export-SPWeb][2] -Identity -Path [-ItemUrl ] [-IncludeUserSecurity] [-IncludeVersions] [-NoFileCompression] [-GradualDelete] [-Verbose] Now you need to import it at desitnation: [Import-SPWeb][3] [-Identity] <SPWebPipeBind> -Path <String> [-ActivateSolutions ...


0

Complete sample $webUrl = "http://portaladdress.local" $inputDir = "C:\sampledata" $spWeb = Get-SPWeb $webUrl $spsite = $spWeb.Site $docLibrary = $spWeb.Lists["DocumentLibraryListName"] $spFolder = $spWeb.GetFolder($docLibrary.rootFolder.URL + "/") $taxonomySession = Get-SPTaxonomySession -Site $spsite $taxonomyField = ...


0

Wouldn't it just be easier to save the list as a template (including content), then creating a new list - using that template - in the desired site? I actually just had this problem, and went with this solution. Powershell and third-party tools could be necessary if you're crazy customized or have humongous lists, but this method worked for me just fine.


0

It's my bad knowledge on Angular which led me to this issue : My ng-repeat instruction wasn't finished while the isotope initialisation was made. To manipulate or initialize objects on the dynamically generated DOM when using Angular, you should use a directive. Here is the relevant part of my working code, with some explanations : when creating my ...



Top 50 recent answers are included