Tag Info

New answers tagged

0

The neatest way to do this is probably with content type inheritance. Start with your base content type that you want to be used in most sites. Then create a "sub" content type which inherits from the base content type, but add in the extra choice fields that you want to use in only in some sites. The just use your base content type on sites that only ...


0

http://khalidansari.com/2014/04/07/change-sharepoint-management-shell-default-folder/ You need to modify the Target field, not the Start in field. This is a pretty good blog on how to do this. It worked for me.


0

You can do this with the JSOM. This will get you started: https://msdn.microsoft.com/en-us/library/office/dn481315.aspx I would write a page for kicking off each workflow that take params in the url and passes them into the JS function. I am unable to share specific code with you here, but read through the below and see the basic process for building out ...


1

I think that's the default behavior of publishing content types (as a whole, I think that's the idea), I don't know a way to publish the content type excluding columns, so my recommendation is unsubscribe your special subsite from the Content Type Hub or everytime you publish your content type it'll erase your special choices and you'll have to recreate it ...


0

Instead of exporting from SharePoint, you can try importing from Excel through add-ins like http://www.cdata.com/drivers/sharepoint/excel/ (commercial). The Excel Add-in allows you to connect to Sharepoint lists, and filter data through transact SQL.


0

I finally realised the error message was because my admin account did not have enough rights to run the script. I've been told the clue was the "unauthorized operation..." part of the error message. When I logged in as the farm account, it worker perfectly.


0

if you are working with Sharepoint2013 than 2013 provide out of the box service to export sharepoint list to Exel or Access. I have refer This one , you can also try it . https://www.microsoftpressstore.com/articles/article.aspx?p=2224034&seqNum=2


0

Please walk through the below given informative article. Which covers important health counters to monitor for SharePoint along with SQL, as well as some troubleshooting tips for common issues. Hopefully it will get you started in the right direction to get this job done: Monitoring and maintaining SharePoint Server 2010 Further, here I found an automated ...


1

SharePoint is a bundle of services. If you already have a tool for monitoring other servers (SCOM, Solar Winds, etc) you can use that for SharePoint as well. What to monitor depends on your own needs and SLA/OLA requirements. You may get away with just monitoring the basic services in windows and making sure the machines are on. Or you may be required ...


0

This is an old question but still exists on SharePoint Designer 2010. At least to me! This ocurred to me: I had a list with 2 workflows, lets name it "List A" I copied List A to another site (using Sharegate*) and created "List B" List B contained the 2 workflows (lets name them Workflow X and Y). So far, so good. Updated a link on one of the workflows ...


0

I found the problem when i was using "Version"= $item.["_UIVersionString"] i got base-512 versions as Vaibhav has pointed in his answer But i am getting the correct version like 23.1 etc when i use "Version"= item["_UIVersionString"] (dot removed)


2

_UIVersionString “1” = version “0.1” _UIVersionString “2” = version “0.2” _UIVersionString “3” = version “0.3” _UIVersionString “512” = version “1.0” _UIVersionString “1024” = version “2.0” _UIVersionString “1025” = version “2.1” Example : If page version is 5.4 Then it will show 2564 5 * 512 + 4 = 2564 We call this a "base-512" counting system in ...


0

I think $item["ows__UIVersionString"] should give you what you want.


2

To change the column name, you can simply select the field name from the List Settings page and change its title /column name to the desired name. Note: the internal name of the column will still remain the same.


0

It may be related to the permissions on the task list associated with the workflow. Workflows have two related lists: one for tasks, one for workflow history. If the list you have the approval workflow is not inheriting permissions from the parent, check the permissions on these two lists.


1

This ended up being an easy fix. For a more complete answer, I want to mention that this was happening on a MySite collection. I activated the SharePoint Server Publishing Infrastructure and SharePoint Server Publishing features at the MySite site collection level. That brought back most of the missing apps for all MySite users. The last issue was the ...


0

I would suggest this approach : Add a web service HTTP call activity to your workflow. Using this activity, make an HTTP call to your Sharepoint list. The URL should looks like this : http://yoursite/_vti_bin/ListData.svc/yourlist?$select=REQStatus&$filter=(REQNumber eq 'CurrentElementReqNumber' and REQStatus eq 'Ordered') Notice that the URL ...


0

I was able to get it to work by making some minor changes to Andrej Salnik's post See Image 1 and Image 2 for details.


0

Use Title to store your GUID. Both ID and Title can be used in EditForm.aspx parameter, for example: https://sharepoint/sites/My-Site/MyLibrary/Forms/EditForm.aspx?Title=3FC51B00-543F-48E7-B774-403140B0BE56


2

The method SPFieldCollection.Add (String, SPFieldType, Boolean, Boolean, StringCollection) has only five arguments. Whereas, in your code you are passing 6 parameters. Try changing the code to this: $newSiteColumn = $web.Fields.Add($name,[Microsoft.SharePoint.SPFieldType]::Choice, $false,$false, $stringColl) Source: ...


0

You can bind a section to a field. It sounds like you are working with a SharePoint List form. So, in the Fields task pane, set the fields to show in advanced view (should be a link toward the bottom of the Fields task pane). Then, right click a field - any field - and select "More" in the control options - from there you can choose a section. ...


0

Another approach I often use: Install the free HarePoint Workflow Scheduler create a view that shows all items where Expiry Date = [Today] Use HarePoint Workflow Scheduler to run the workflow once a day on all items in that view.


1

Use a retention policy, that's exactly what they're designed to do. You can create a retention policy for either a list/library or a content type (which would then affect all items of that content type in any list/library). For the retention policy, you set the criteria, such as modified date + 2 years, or Expiration Date + 0 years, and then an action. The ...


0

The fault is in your logic, you can't do a compound evalution like that. You'd need to do it like: If Qreq is = 0 set REQStatus to "Not Received" else If Qreq is > 0 and Qreq < Oreq set REQStatus to "Partially Received" else If Qreq is > or equal to Oreq set REQStatus to "Fully Received"


0

Add a validation rule to your file attachment field like this: where field2 is the radio button.


0

Solved it. Turns out someone changed the name of a list, and gave it a name that was already used by another list. This doesn't break anything, it seems, but it does break the REST API, even beyond the name conflicts.


0

Had this picture some time from another resource on the internet (can't remember which one, tho). This perfectly discribes the hierarchy: You have a SharePoint farm (SPFarm) at the top and in that farm you have [0 to N] web applications (SPWebApplication), within one of those web applications you have a site collection (SPSite) and within that site ...


0

Site collections (SPSite) are logical boundaries in the web application. A SPSite is comprised of one or many SPWebs, the root web of a SPSite is a SPWeb.


1

It's mostly likely because you already have an instance of the SPList (from another context) before you try to execute the deletion of an EventReceiver. That's why the ThreadAbortionException is thrown. Instead of sending in the list, send its name instead and get the list inside the RunWithElevatedPrivileges codeblock. private void ...


2

I would try the following: Get the List again from the elevated Web instead of the instance you pass to this method. Try searching your eventreceiver additional by assembly or classname to make sure you don't delete some SharePoint internal Receiver. finally{ web.AllowUnsafeUpdates = false;}


2

The "Pages" library is a publishing page library and will use page layouts. The "Site Pages" library can have completely different content types, most likely wiki pages or web part pages. Don't confuse the two types of libraries. They use completely different architectures. A good summary of the different kinds of libraries can be had here: ...


1

SharePoint does not allow to get directly a .json file without passing by a Web Service. It's considered as a non-sense for Microsoft, so they simply blocked .json file, if not provided by a web service. For some cases, you can rename your .json file to .jso to trick the SharePoint security policy, or go to Web.config to disable the security check. At this ...


0

We are talking about two site collections here www.thesite.com www.thesite.com/custsearch Both site collections have their unique permission groups. In order to restrict the user to access www.thesite.com, remove 'NT Authority' group if you have added there and make sure only required users are added in the site collection. At max you can give them Read ...


0

Use ; instead of , in your query and also delimit the last column too with ;. It will help you solve the problem.


0

As the issue is reoccurring on a weekly basis it surely points out to a fault Timer Job. Please narrow down your ULS log and you'll find out the culprit. I read in a blog which I'll refer once I find the URL, there are couple of Jobs which can do this and out of them one is "Recycling Bin". You should surely set it to stop on Friday and see the result on ...


0

You should initialize the ActiveXObject before page load and if possible put an alert to see if it's properly initialized or not. It can be a scenario where request is already processed before object is initialized. You can initialize the ActiveXObjectonce and reuse the EditDocumentproperty for different documents like this. ...


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.


1

I am running SharePoint 2013, I have intel i5 processor with 16gb ram. I can assure you it will work without any issue. I have install SharePoint Designer and visual Studio Ultimate too. So don't worry :)


0

you can definitely run as single user environment, as per my experience event i ran 2010 in i3 with 4 gb ram with out a VM. i am sure there shouldnt be any problem with 16 gb with dual core. try to allocate atleast 8 gb ram to vm which will make it stable. also see if you can stop the unwanted sharepoint services which you may not need for better ...


0

We have to understand how SharePoint works... We are trying to access a subsite here without any permission to the parent site collection. Its almost like trying to access 2nd level floor with the main gate closed. Please grant Read access to the user at the top level site collection and give required permission to the user at the subsite2. @Arko has ...


1

If you dont use powerGUI but use powershell.exe: Go to: C:\Windows\System32\WindowsPowerShell\v1.0 Find: powershell_ise.exe.config Change: <?xml version="1.0" encoding="utf-8" ?> <configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" /> </startup> ...


0

If you open both document libraries in Explorer and drag and drop the files from one Explorer window to another, the version history will follow the document. This is different from copy-paste where you only get the latest version of the document.


2

Please create a Shared Datasource instead of "Datasource". I'll suggest you to read this step by step article, it helped me with my first report. J


2

In SharePoint you have three different entities which builds up a page rendering to the user. First, there is the master page, which controls SharePoint at a general level. You’ll find the foundation scripts and styles which works globally on the entire site (which uses this master page). The master page also has the most control of the outer styles. To make ...


1

Please include Microsoft.SharePoint.Client.Runtime.dll in your project.


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

Although i would strongly recommend against this workaround that i tried, i was able to restore my backup which had failed this version check. Open your *.bak file or the backup file in VS2013...It might take a while to open...If you have a good disassembler or one of those good old days tools used by s/w cr**kers, you can use them to edit the file. Ignore ...


0

I cannot explain why this is happening but I can provide a work around to stop it happening. Open your management shell and type $profile and press enter. A path will be shown. If the file / path does not exist create it. Open the file microsoft.powershell_profile.ps1 in a text editor In the document enter "sl c:\" without the quotes and save the document ...


0

Yes you can do this using Javascript. This involves below steps: Write some JSOM code to fetch the details of the item which you want to dump onto the email body. Use the below sample technique to call outlook new mail window. <a class="email" title="Email the item" href="#" onclick="javascript:window.location='mailto:?subject=Sample Mail&body=I ...


0

SharePoint uses a "Crawl Account" to read and access the crawled files. This account has to have READ permissions on the content sources. By default, security ACLs are also detected and end users who do not have access to the files will not see them in search results. There is nothing to configure. In SharePoint this would be SharePoint permissions, on a ...



Top 50 recent answers are included