Tag Info

New answers tagged

0

Not an exact apples to apples comparison, but here it is...... I used the following link to backup and restore. http://blogs.msdn.com/b/erica/archive/2013/11/26/customer-question-renaming-site-collections-in-sharepoint-2013.aspx I used the powershell script under paragraph "Move Site Collection from Test to Prod". There is a previous paragraph (Renaming) ...


0

I used this when I first created my app. First, you need both the app web url and the host web url: var hostweburl = decodeURIComponent( getQueryStringParameter("SPHostUrl") ); var appweburl = decodeURIComponent( getQueryStringParameter("SPAppWebUrl") ); Then you need to load the SP.RequestExecutor.JS file, which I did differently than what was in the ...


0

Delete affected users in site collection resolve the problemm. The main reason is changing email address in Active Directory.


1

The code should look like this: function getCurrentUser() { this.clientContext = new SP.ClientContext.get_current(); this.oWeb = clientContext.get_web(); currentUser = this.oWeb.get_currentUser(); this.allGroups = currentUser.get_groups(); clientContext.load(allGroups); ...


0

Move this line var groups = currentUser.get_groups(); To your getCurrentUser method and make sure to load it this.clientContext.load(groups); before executing the request, this way you will have it loaded in your success-function


1

The permission Scope Web will allow you to work with Host web site. Suppose you have a site collection at url http://sitename. And under it you have a sub site http://sitename/subsite. Now you deploy an app in the subsite. So the subsite will be the Host web. Now you want to create a list in subsite so you will need to provide Web Scope. However, if you ...


0

This is how I did it: SPWebApplication webApp = SPWebApplication.Lookup(new Uri(webAppUrl)); var customJob = (from job in webApp.JobDefinitions where job.Name == "MyTimerJobName" select job).Single(); // for some reason wont't work if I try to get the job using [name] string jobUrl = ...


1

Please check this answer: http://stackoverflow.com/questions/5081251/how-can-this-throw-a-nullreferenceexception SPContext.Current doesn't work under Elevated Privileges, so you have to rewrite like in the answer above.


0

Duplication is handled query time, so there is no property which will allow you to count or filter on this. But I agree getting a list of all duplicates would be nice to clean up data. If you query with trimming you will get a count per item letting you know the duplicates (fcount I think..but not 100% sure), but you would need to iterate all results to ...


1

PSConfigUI.exe is UI based "SharePoint Products and Technologies Configuration Wizard", you can either run it from the 12/14/15 hive's bin folder or you can run it from the Start >All program > Microsoft SharePoint 2010 Products > "SharePoint Products and Technologies Configuration Wizard" SharePoint also has a command line version of this comman ...


0

For your custom workflows you can add OnError activity and handle the notifications, for a list workflows, you will have to comeup with a solution that iterates with the workflow instances and check the status for you. Think about PowerShell if you have access to the server.


1

I got quick launch to work in a page layout by posting the following code into my pagelayout HTML file. I placed it in a bootstrap column and it renders correctly with one caveat. the "View All Site Content" link does not render. Can't seem to figure out exactly why, the contentPlaceHolder is created on page load, but none of the code is rendered to ...


3

It is the "SharePoint Products and Technologies Configuration Wizard". Used for configuring SharePoint after installation, updates, farm modifications etc.


1

We eventually got search working by clearing the configuration cache. Here is the article with detailed information about this process: Perform the below steps on all the servers in the farm. Stop the Timer service. Start -> services.msc -> SharePoint Timer Service (SPTimerV4) -> Stop Browse to %SystemDrive%\ProgramData\Microsoft\SharePoint\Config\GUID ...


0

This is the best and shortest solution Go to Edit web part and select "Miscellaneous" property and click on Server Render checkbox. then you will able to see that in designer hope it helps!


0

I am trying hard to understand what exactly is the problem here - do you not see the option of creating a SharePoint 2013 Workflow in SharePoint Designer? If so, did you make sure to register your site collection using the Register-SPWorkflowService command? More info


3

For every web application you can do the following: Get your timer job definition (SPJobDefinition) from SPWebApplication.JobDefinitions Get the guid: string jobDefID = SPJobDefinition.Id.ToString(); Add the guid in the query string http://srvr/_admin/JobEdit.aspx?JobId=jobDefID


0

Change the logging to Verbose and see your ULS log entries, or login to one of the server and execute merge-splogfile powershell script to get logs from different servers in your farm and specify the start time and end time. (please read more on merge-splogfile command before you use it)


0

According to MSFT Usage is Once a Day, this why you seeing once a day, but for the app errors those process more often. here MSFT office statement from technet you mentioned. "The app usage and app error details data that is in the app monitoring pages can be delayed for up to 29 hours. The app details depend on when the ECM analytics timer job is scheduled ...


0

As far as where to start you need to define what your goal is. What you do / don't want to see when they open form on iPhone in particular. If you are using SP2013 with Enterprise CAL's then you have access to design manager and device channels which make it pretty easy to drop in a different look just for iPhone or other mobile users. This approach ...


4

Tools For use: 1. FBA Configuration Manager for SharePoint 2013 – Author and Credit goes to Steve Peschka. The download comes with a ReadMe file. Please read it, since you need to register the WSP that comes with it. SharePoint 2013 FBA Pack – Author and Credit goes to Chris Coulson. Here is the documentation that will tell you how to ...


1

You can add the attribute ToolbarTemplate="None" in the View element <View BaseViewID="1" ... ToolbarTemplate="None" ...


2

I can't really provide a sensible answer to why this is happening (I can confirm I'm experiencing the same weird behavior. I'm sure this is related to the fact that they cut out the designer part without properly thinking about the consequences this would have had). What I can offer is a dirty workaround that proved to be almost always working in my case. ...


0

i could be wrong here but isnt SPContext.Current null which is correct as there isnt a current context as you havent signed in yet so there isnt one available ;) use: SecurityToken token = SPFormsUserNameSecurityTokenHandler.CreateSecurityToken(formsClaimsAuthenticationProvider.MembershipProvider, formsClaimsAuthenticationProvider.RoleProvider, username, ...


1

A better way to set the configuration value via powershell (s. http://msdn.microsoft.com/en-us/library/jj680843(v=azure.10).aspx). To set the timeout to 2 min open Worflow Manager Powershell and use Set-WFServiceConfiguration -ServiceUri *YourURI* -Name WorkflowServiceMaxHttpResponseTime -Value 00:02:00 See the Warning on MSDN Page about possible ...


1

You may follow this link which has clear explanation of how create to create a timer job. It may help you. http://www.codeproject.com/Articles/403323/SharePoint-Create-Custom-Timer-Jobs


0

If you are looking for upload using server side coode, here's TechNet article for SharePoint 2010, I've taken bits and bobs from it before and should give you a generic idea on how to accomplish your task: http://msdn.microsoft.com/en-us/library/office/ms454491(v=office.14).aspx


0

I'm just guessing here, but here are some things that I think could help. Add this JavaScript code to the custom sign in page (before your if-statement): SP.SOD.executeFunc('SP.js', 'SP.ClientContext'); You could also add this JavaScript to your page to test if it works or not, using the console: var clientContext = new SP.ClientContext.get_current(); ...


0

In that case I would create two web parts on one page: one web part that will be seen only by users who are not a member of the "admin" group, and one that will be seen only by users who are a member of the "admin" group. Wrap a div around both web parts and give each div a unique ID, for example "customWB1" for the web part that all users should see, and ...


0

So which part of the web config did you comment out? This might indicate cause or someone might spot that they got similar issue in the past, even help someone in the future :)


1

Create a view for that list Create a column Person or Group and set Allow selection of:People and Groups and If you want use sharepoint group set Choose from:SharePoint Group in sharepoint designer open the view that you create and use this code to filter: In the fieldRef name you must type your column name! Hope this usefull


1

I've just fix it ! There was nothing show in logs @SalvatorDiFazio. I comment out the <connectionString> in the web.config, now it works ! I still don't know why this goes wrong. It must be my bad. EDIT : forgot to put connectionString between ` :)


1

Is this required by workflow process or are you trying to use workflow just to contact DB and update specific list item in the list? If yes - it might be work looking into writing a custom Timer Job. If you have to do this in workflow - I guess you could build a custom activity and make it do all the required calls from there - someone who is workflow ...


0

I'm pretty sure I used similar code not that long ago and didn't encounter any issues. Will have to get home and spin up my test VMs to confirm. Thanks for this clear code sample - it should come in handy for quite few people out there :)


1

I found the answer my self. Add this registration in the masterpage: <SharePoint:ScriptLink ID="ScriptLink21" Name="sp.js" runat="server" OnDemand="false" LoadAfterUI="true" Localizable="false" />


1

Steven, We did a similar migration last year with a large user base. The biggest challange was to get everyone acquainted with the new user interface. Before you start developing the training, it would be a great exercise to understand how your users use Share Point. Few of the questions you may ask:- 1. What is the most common use of your SharePoint ...


1

As always, all the strange issues have simple answer, for on of the list where i was able to search 20 items, I noticed that we have "Content Approval" setting was turned on. Hence all the items were considered as "Draft" and visible only to people with admin privileges. Since i have full access on the farm I was able to see everything. Another thing ...


1

Having done this migration (and training) a few times now, It depends a lot on what your users are expected to do. Some of the changes for everyone: Browser dependence (less reliance on IE) Addition of the Ribbon, movement of almost all buttons into the ribbon. Social changes (if you didn't have mySites before and you do now which seems common) Changes ...


1

There are two things to consider. First you need to train them on how to continue to do the things they need to know in order to continue to do their jobs effectively, like uploading documents, adding list items, creating lists, etc. The process may be the same, but the visual difference could be confusing or the steps may have changed slightly. The second ...


2

Technically you can delete all of the views for the list and you will get a 404 if you try to access via the url. The list does technically still work if you are accessing it another way (like COM) though.


0

From the same article you linked to: Note: Usage reports are only available for Document Libraries and Product Catalog lists. I don't want to believe that's true, but it seems to match the observed behaviour of SharePoint 2013 :-(


1

Here's a way in pure CSS(2): .ms-list-addnew a:first-child:after{ content: 'New button name'; } .ms-list-addnew a span + span{ display: none; }


0

You can use a full bootstrap theme for SP2013 and it will have all the resources for what you need. You can get a theme from here. http://bindtuning.com/cms/sharepoint/sharepoint-2013/theme/TheBootstrapTheme Once installed and applied to get and accordion in the Quick Launch you just need to edit the master page and add a css class to the the MenuV. ...


0

There are a lot of changes between the v4.master (2010) and the seattle.master (2013) Maybe the most relevant is the suitebar and the ribbon bars. All of the features from the 2010 are present in the 2013 version, however some of them could be hidden like the breadcrumb, you can read more about in the link bellow. ...


0

Edit the page, add a Script Editor webpart, then add the following code (requires jQuery): _spBodyOnLoadFunctionNames.push("spReady"); function spReady(){ $('.ms-list-addnew span:last').text("New button name") }


1

I can think of following differences between app parts and webparts: SharePoint Server Object Model code is not allowed in app parts (only client object model code is allowed) whereas web parts allow both Sever and Client object model code. App parts provide deployment isolation. However, deployment of web parts causes files to get deployed to 15 hive, ...


1

Following example shows how to break role inheritance of a list item and give current user Contribute permissions to the item. var siteUrl = '/sites/MySiteCollection'; function breakSecurityInheritanceAddUser() { var clientContext = new SP.ClientContext(siteUrl); var oList = clientContext.get_web().get_lists().getByTitle('MyList'); var itemId ...


0

It works now. I solved it by adding the following in the head of my masterpage: <SharePoint:PageTitle runat="server"> <SharePoint:EncodedLiteral runat="server" text="Websitename | " EncodeMethod='HtmlEncode'/> <SharePoint:ProjectProperty runat="server" id="ProjectProperty1" Property="Title" /> </SharePoint:PageTitle> I appreciate ...


1

If you feel confident in your abilities, you can try the Database Detach and Attach move as Waqas mentioned above. Using a third-party migration tool would most likely be the easiest way. Especially since the version numbers would not be a factor. Most of the major players in that market offer free trial so you can get a good idea of their different ...


1

Since $expand operator specifies which projected fields from a joined list are returned, the REST query: /_api/web/lists/GetByTitle('<List Title>')/items(<Item Id>)/?$expand=ContentType returns list item entity with content type entity. In order to return the specific item properties along with Content Type properties, you should use ...



Top 50 recent answers are included