Tag Info

New answers tagged

1

The Name column cannot be referenced in a calculated column. You can see proof of this by looking through the list of Columns available when creating or editing your calculated column formula. If you want to work around the issue, create a second column and then use a workflow to copy the Name column to the new column you created. The new column can be ...


0

I think the answer here is to not use the content organizer. AFAIK, this is functioning like it should, if it worked that way in 2010 and 2013 too. I think the only way around it would be to create an event receiver to see if the user who edited the document properties has permission to the destination location and handle it how you want. I can see the ...


0

TL;DR - Stay under 5,000 items for the entire library to get 100% of functionality In addition to the 30 million documents per library you also need to be aware of the limit of 5,000 items per "view". http://technet.microsoft.com/en-us/library/cc262787(v=office.15).aspx#ListLibrary This particular limit can be changed in on-premise but in SharePoint ...


0

A document Library can hold more than 30,000,000 denouements but catch is MSFT support upto 30,000,000 and if you exceed you will be out of support. That's mean MSFT will tell you delete the documents stay in limit. So, 30 Million is upper limit, whatever folder structure you have and number of folder you have....all together should not exceed 30 Million.


0

You are currently overriding a field. You can instead override the entire view, and display the fields you wish in whatever manner you wish. You need to set a few extra properties in the overrideCtx.Templates object, but it's rather simple. Here is an example: (function () { var overrideCtx = {}; overrideCtx.Templates = {}; ...


0

Yes, it is possible. You can simply setup a workflow to create a new item in the calendar list, depending on the approval decision on the Vacation list.


1

Office 365 includes all the tools and resources you need to jump in and start building apps: 1) SharePoint Online developer site, customized for creating and testing apps 2) You can install "Napa" Office 365 Development Tools, to create your first apps right within the browser 3) Office Professional Plus 2013 4) Exchange Online When you finish ...


0

One must needed tool for development is SharePoint Designer 2013


3

You can still use Visual Studio to create SharePoint Apps without requiring SharePoint installed locally. That is a benefit of using the App Model. Get the tools for VS2013 here The only case that would require SharePoint installed would be if you were creating Server side code (which you can't do in SharePoint online anyways) or Sandboxed solutions, which ...


0

An Anonymous user won't have a SP/App Context. You can run the code above in a Provider hosted app for an anonymous user but you will need to request an 'App Only' token which means that the context is using the Apps identity not the user (as it's anonymous). You should be able to do the same for a SharePoint hosted app as well. Remember, to create a ...


0

Rest API URI: http://<site url>/_api/web/getuserbyid(ID#) Dev Center article: http://msdn.microsoft.com/en-us/library/office/dn531432(v=office.15).aspx#bk_User


0

You can access your callback method from modal page. Add callback to your parent page to catch the close event function CloseDialogCallback(dialogResult, returnValue) { SP.SOD.execute('sp.ui.dialog.js', 'SP.UI.ModalDialog.RefreshPage', SP.UI.DialogResult.OK); // Add your code to clear the save state. } And call CloseDialogCallback method from ...


0

There is a workaround to add text to the Upload.aspx. Add following javascript code to your masterpage: jQuery(document).ready(function() { if (window.location.href.toLowerCase().indexOf('/_layouts/15/upload.aspx') > 0) { jQuery('input:checkbox').closest("td").append("Message for size limit"); } }); Above code will display message on all ...


2

Yes, You can move it. But one thing you keep in mind if you hard coded the URL in your sites then those will cause the issue and you have to manually adjust it. Couple of options to move it. 1) Moving using the PowerShell tool. Move-Spsite Move-SPSite http://servername.com/sites/sitename -DestinationDatabase ContentDb2 Only catch in this case, you ...


0

Your CAML query should look something like this ... <Query> <Where> <And> <Gt> <FieldRef Name="EventDate"/> <Value Type="DateTime"> <Today OffsetDays="-NumDays"/> </Value> </Gt> <Lt> ...


0

Specifically, if you are using Sharepoint Designer 2013, your code should look like this (notice Visible="false" has been removed)


0

Use the following In case if its a visual web part <SharePoint:EmbeddedFormField ID="sp_summary" FieldName="WikiField" ControlMode="New" DisableInputFieldLabel="false" runat="server" > In Sharepoint list settings-->Select your column --> Select Enhanced rich text (Rich text with pictures, tables, and hyperlinks)


0

You could create permissions group in your sharepoint site that allows the specific people posting to this blog to be able post without the need for Approval. Now if you use Microsoft Word, use the built in Blog Post template and connect this to your SharePoint site. (Open MS Word, New, Blog Post, Manage Accounts, New, SHarePoint blog, ) This will allow you ...


0

I came across this a while ago, it might be what you are looking for...even comes with a nice video!! http://blogs.msdn.com/b/richard_dizeregas_blog/archive/2014/05/07/connected-sharepoint-app-part.aspx


0

It seems that the content is retrieved dynamically via CSOM or REST, in that case it could explain why it happens. The access to CSOM/REST in anonymous context is not allowed in SharePoint 2013 by default, please follow What Every Developer Needs to Know About SharePoint Apps, CSOM, and Anonymous Publishing Sites article for an explanation and the solution ...


0

An alternate solution to the problem of not having upgraded to April 2013 CU is a simple powershell script that uses reflection to set the value of the internal 'MaintenanceMode' property:- $site = Get-SPSite http://urltofreakinlockedsite/ $site.GetType().GetProperty("MaintenanceMode").GetSetMethod($true).Invoke($site, @($false)) This approach has the ...


-1

While not the best solution, if you're unable to upgrade to the April 2013 CU, directly editing the LifeCycleFlags in the content database will unlock the site. Connect to the SQL Server, and browse to the Content Database Take a backup for good measure Run the query select * from allsites Take note of the URL and ID of the site you're after Run the query ...


0

Is your Visual Studio fully updated? The following link is for 2013 version but it seems to have encountered exactly the same error: http://social.msdn.microsoft.com/Forums/sharepoint/en-US/733af28d-7a01-487b-822b-36bfc095fac9/workflow-debugging-prerequisites-failed-to-complete-vs2013-autohosted-app?forum=sharepointdevelopment Have a look at the following ...


1

Could you please tell us, How much Ram you assigned to the VM? What Software Installed on the VM, everything on one or mutliple VMs. Couple of Common things to optimize the perfromance. Stop the unnecessary services /Services Application in farm. I.e Search Services, MMS, performance point etc. Please only configure the services application which you need ...


1

After a while I discovered that just editing (adding a space) to the master page in SharePoint Designer fixed it. I then copied the resulting saved SharePoint Designer master page back into my solution and deployed that and it worked fine. Comparing the two files, the master page that had been provided to me originally had some extra attributes in the ...


1

I have to echo what aliSharepoint wrote that the challenge isn't necessarily the programming, it's learning Sharepoint. Almost everything you will do in SP will be more difficult than any other development platform. This is my suggestion for how to approach from a project perspective Start with an overview. Get familiar with the various SP architectures: ...


0

I've had this problem before and never explored a solution until now. Don't use the script editor, instead just open the view aspx within SharePoint Designer and in 'PlaceHolderAdditionalPageHead' you can add your script without loosing the ribbon. Tested in SP 2013 on AllItems.aspx <asp:content contentplaceholderid="PlaceHolderAdditionalPageHead" ...


0

One of the very common reason for jsLink not loading is that you have specified incorrect path in the jsLink property. The way i prefer to do it put alert on the JSLink and make sure that alert comes up in the list view, that indicates that our link is pointing to the right JSLink file. I usually store all my jsLink files on the Site Assets library (js ...


0

I don't know how you did configure you're Dev environment, but the search service is on real big resource eater, so if you don't need it, you should deactivate it. The rest goes out the services you don't use but configured and are activated in your farm. Another thing is that SharePoint loves to logg everything that's going on in the farm. By default the ...


1

To migrate a Database from 2010 to 2013. You have to follow these steps. Create New Web Application in 2013 and Configures the AAM Detach the Database which you created while web application creation. Now restore the 2010 db into 2013 SQL server and mount it to the Web Application. Now go the central admin > Application management > view all site ...


0

You can create a People directory using the People Search without writing any code. How to: Create a Simple SharePoint 2010 People Directory another way is use the infopath. Create the contacts list, and open in InfoPath Create a data connection to the User Profile web service Customize the form adding some text, a people picker and a button Create ...


0

I haven't used C# to do REST calls in awhile, but when I did, I used the HttPWebRequest, as that's what I found on MSDN: var Data = string.Concat( "{ '__metadata': { 'type': 'SP.WebCreationInformation' },", "'Title': 'Team projects', 'Url': 'TeamProjects', 'WebTemplate': 'STS'", "'UseSamePermissionsAsParentSite': true ...


2

See http://blogs.msdn.com/b/sharepoint_strategery/archive/2013/12/09/sp2010-search-query-load-balancing-explained-part-2.aspx (see the special note on SharePoint 2013) As per the article in SP2013 you can stop SQ&SS on 3 servers, and just leave it running on the server running on Query Processing Component. you can stop it using Manage services on ...


0

I had this same problem. Deactiveate the features in CA that you will not need, also truncate the SQL log file, this file can take up space on your e drive which can slow things down.


0

Yes there is, Once you create a sharepoint cal, click "connect to outlook" and click yes to the pop up box. The calendar will appear in Outlook and when an event is added, it will appear automatically in sharepoint! Let me know if this helps.


0

You can use HTML5 Video control to show media, which have lot of inbuilt functionalities like autoplay, preload, loop, poster and many other etc. <video controls autoplay width="320"> <source src="<MEDIA_URL>" /> </video>


0

I have been using sharepoint sync, however best practice is to change groups in active directory. If I run a sync with active directory will my current mysite user profiles be written over?


1

I used auto=1 to get the video play as soon as the page loads. Also, if you are using the Sharepoint out of the box video type, you should be able to edit the embed configurations for the video and generate the code that way. See the "Start Automatically" checkbox in option 4: ...


1

Have you tried the Remote PowerShell ability. Powershell 2.0 uses the concepts of WIN-RM which involves piping the contents of the remote call and running it on the remote server. You need to setup the remote Computer 1st you need to run the following command on your server Enable-PSRemoting you need to let powershell know that your server machine or ...


1

I dont think So you can Sync a Specific security group instead of all.Because UPA target only OU level. I think, your best option is use the Active Directory Import option(new in SharePoint 2013) and write yours own LDAP query filter to get it done. Looks like a complex query.


2

Your example contains the following errors/typos: To get fs object type use the following syntax: var fsObjType = selectedItem.get_fileSystemObjectType(); Another point is, ListItem object have to be requested first before getting it's value, this is why in your example it will not work. In fact, you don't have to request ListItem object in order ...


0

Assuming you use SP2013 The search you do on "people" is basically a standard search with an extra filter parameter that indicates only to return people results. Create a custom content type and make the search return: people results or items with your custom contenttype. The difficulty will be mapping the properties correctly (reuse existig columns!). ...


1

Done with below code. Use InheritDefaultPageLayout method instead of IsInheritingDefaultPageLayout property. $pweb = [Microsoft.SharePoint.Publishing.PublishingWeb]::GetPublishingWeb($subsite) $pweb.InheritDefaultPageLayout(); $pWeb.Update();


0

Same issue happened to me before. So, we used Tree view, which kind of allows someone with no permissions in the Parent folder to expand and view the Sub-folders. They should expand the folder tree structure in the left pane, until the exact sub-folder they have access to is reached.


0

You can use the same script in your description, but have it run nightly, to pick up any new document libraries. Also, if you perform regular backups to your environment, you should be able to track any audit trail back to the date/user that is needed. Whenever you need to see an audit trail, restore to a test site collection, and that workflow and workflow ...


0

On AD Connection --> synchronization connection --> Container , just select group u want to synch. PS : http://smallcitydesign.com/user-profile-synchronization-importing-users-and-security-groups-in-sharepoint-2010/


0

PS : http://serverfault.com/questions/17782/logging-in-as-another-user-in-sharepoint/17979#17979 class LoginModule { public void Init(HttpApplication context) { context.PreRequestHandlerExecute += new EventHandler(UglyHack); } void UglyHack(object sender, EventArgs e) { HttpCookie wannabe = ...


1

Have you seen this post: Filter out items in list view using jslink Looks like you could do: overrideContext.Templates.Item = customItem; function customItem(context) { if(conditionIsNotMet) { return RenderItemTemplate(context); } else { return ''; //Hide Row somehow } } HTH


0

Service application pools appear in IIS as long random strings of characters. The name you give it in SharePoint is not reflected in IIS Manager. An IIS Application Pool can have but one unique identifier, it’s Name, for which uniqueness is enforced. It works perfectly. However SharePoint has decided to use GUIDs for this Name. Within Central Administration ...


0

add this attribute in Field node MaxLength="30"



Top 50 recent answers are included