New answers tagged

1

Please follow the following approach. Create a Sandbox solution rather then creating the SharePoint App Deploy your solution to your SharePoint Online Solution Gallery Activate your solution Activate the feature of your newly activated solution I know this is not the ultimate solution but this solution worked at my end. Let me know whether it helped you ...


0

SharePoint Online/Office 365 doesn’t currently support "Cross Site Publishing" features. Until they are added to the service (possibly in a quarterly update), customers will be looking for alternatives to close the gap. Below links will outline several alternatives for delivering cross-site and search-driven content in SharePoint Online and how to template ...


3

Break permission inheritance of that document library. Remove other users. Then only assign permission to the owners. This will hide the library from other users.


0

Holy heck, never mind. The issue appears to be my browser cache. I was using chrome and I needed to just clear out the entire cache (Menu -> Clear Browsing Data) and it seemed to work fine after.


1

Based on the error status, SharePoint is saying no personal site exists for the user. Did you check whether Mysites is properly configured and you are able to access the page? I have faced the same issue and resolved it by recreating the User Profile in my dev UPA You can also try some of the solutions proposed here ...


0

[SharePoint Online] I've had this problem too, it was not the App principal that was returned but the site admin as current user. The problem for me was that I had not yet added this to the app manifest: <AppPermissionRequests AllowAppOnlyPolicy="true"> <AppPermissionRequest Scope="http://sharepoint/content/sitecollection" Right="FullControl" ...


0

When you attempt to run your app can you look at the rest of the message in the output window. For me I had some things missing or named wrongly in my Elements.xml file. I named 1 of my properties "Title" but it did not like that, maybe as it was ambiguous. I also had to add a WebDisplayName to my property as I had the WebBrowsable property set to true. ...


0

public class ReadExcel { #region readExcel public static DataTable ReadData(Stream theStream, string sheetName) { DataTable dt = new DataTable(); try { using (SpreadsheetDocument spreadSheetDocument = SpreadsheetDocument.Open(theStream, false)) { WorkbookPart workbookPart = ...


0

You may want to try and use site templates. I've not tried to export a site template and upload it to SharePoint Online. It may not be accepted based on version differences - but since these are all declarative, there is a good chance it will work. Just remember site templates can't exceed 50MB, and they don't work for publishing sites. ...


2

Yes, you can do, But for this, you have to use the 3rd party tools. There is no OOTB method which support direct migration from SharePoint on-prem to SharePoint online. Try ShareGate or Metalogix or any other.


0

Add CEWP on your page and add below script in it. <script type="text/javascript"> window.onload = function() { document.getElementById("idHomePageNewAnnouncement").getElementsByTagName("span")[1].innerHTML="Add new report"; }; </script> UPDATE Using JS link Put upper code in js file and upload it in ...


0

Add CEWP to your page using below steps. Go to Page where you want to change the text for link. On your page, click Site Actions and then click Edit Page Click on the area where you want to add the Content Editor Web Part The Add Web Parts dialog box will open. Choose the type of content that you would like to add. For us, scroll down to the Media and ...


0

You can avoid this behaviour (the two events that fire on upload) by setting the Require documents to be checked out before they can be edited to Yes in the Versioning settings of your library. This way the edit metadata form won't trigger the ItemUpdated event because the file hasn't been checked in after initial upload. Just be sure to update your ...


2

Not saying that this is necessarily the problem, but I have never liked dynamically loading scripts by writing a script tag into the head. So my first inclination would be to get rid of the loadJS function and just load the chart.js script normally: <canvas id="myChart" width="600" height="400"></canvas> <!-- just load the chart.js script ...


1

The script editor web part will not execute in Google Chrome thanks to Chrome's built-in XSS Auditor. This is a feature of Chrome that is designed to mitigate Cross-site Scripting (XSS) attacks. There are ways to workaround this, but IMO a better solution is to just use JS Link. Upload the script file that you are wanting to run on the page, and then link ...


0

Did you check the markup of the page after you saved everything? Sometimes it can get stripped out. Save the page and look at it's source (Ctrl+U) and do a ctrl+f for your snippet. Another thing to check is if you have the Minimal Download Strategy enabled. Do you have start.aspx in the URL? I found that it interfered with my scripts. You can test if ...


0

This is possible by adding a custom action that can be to the Style Library. You would need to design your custom form programmatically in this custom action - JavaScript file and associate to this list.


0

You can edit the default new form. Go to list ribbon and click on Form Web Parts. From drop down click on Default New Form. This will open New form in Edit mode. Add your custom webpart on the form and hide the original webpart.


1

using (ClientContext context = new ClientContext("http://SharepointURL/")) { try { Web web = context.Web; FileCreationInformation newFile = new FileCreationInformation(); newFile.Content = System.IO.File.ReadAllBytes(@"C:\test.txt"); newFile.Url = "test.txt"; List docs = web.Lists.GetByTitle("CustomList"); ...


1

This might be duplicate of List with > 5000 items working with Paging? Please have a look and let me know whether it is helpful or not Thanks


1

Using Client Object Model, You can query large list by using ListItemCollection Property ClientContext clientContext = new ClientContext("YOURURL"); List list = clientContext.Web.Lists.GetByTitle(“Tasks”); ListItemCollectionPosition itemPosition = null; while (true) { CamlQuery camlQuery = new CamlQuery(); camlQuery.ListItemCollectionPosition ...


2

Create a view in your list. Set a filter on the view to filter the data so the total number of items displayed in the view is less than the threshold, based on e.g. a date range, a number, by item id etc. Then after you can use the ListItemCollectionPosition class to implement paging list item retrieval according to the position of items relative to their ...


1

You need to enable external sharing on your first tenant site and need to invite second tenant by email address.


0

after thorough analysis, i have found that the CSOM version in my tenant is not up to date with the script provided in dev.office.com. the recommendation here would be that you should make sure the newly released snippets/solutions are compatible with you tenant before we actually jump in. Especially, if you tenant is not in first release mode for changes ...


0

public abstract class Controller : ControllerBase, IActionFilter, IAuthenticationFilter, IAuthorizationFilter, IDisposable, IExceptionFilter, IResultFilter, IAsyncController, IAsyncManagerContainer { } public class MyController : Controller { protected override void OnAuthentication(AuthenticationContext filterContext) { //custom ...


1

It is completely based on the plan of your Office 365 Account. You can only send invites up to 10,000 external users (meaning user's that is outside your organization or user's not licensed within the organization) per month If you are using Office 365 Enterprise plan. This does not limit the access to the site collection but it pertains to the number of ...


1

As far as I know, there is now way to do this in the manner in which you would want. The way I see it operating is both tenants are configured to allow external sharing with authenticated users. When user A from tenant A wants to share with user B from tenant B, user A sends an external sharing invitation to user B's email address. User B logs in with the ...


0

I have had issues with these crawled properties not being mapped correctly to Managed Properties by default. In Site Administration > Search Schema, this is what I have done: RefinableDate01 – This is a SharePoint provided Managed Property of Type = Date that is provided for configuration. It should be mapped to the Crawled Properties: ...


-1

Old question but it might help... http://www.sharepointappie.nl/confusing-access-denied-managing-navigation-office365/


0

OnPremise means the software is installed inside your premise , inside your company. Your admins will look after it , you will buy the full software and you have complete control over it. Cloud Based( Online) means the software is hosted by a third party provider like Azure or Amazon. You do not need to buy the full software you can pay as you need. From ...


0

Exchange online is a cloud-based solution as part of Office 365, controlled by MSFT. A difference is one is a cloud-based solution and other is on prem. On-prem exchange deployment, you will full control, less cost as user grow, No Dir Sync, all the data reside locally and integration with other application within organization easy. Exchange Online give ...


0

There are couples of things which you should confirm. install the SMTP server locally according to Office 365 settings You need SPO licensing for user " To setup your on-premise SharePoint server to use Exchange Online, you need to build SharePoint Online (SPO) accounts for those users and assign the appropriate SPO licenses." ...


0

You can configure Your SMTP setting for server from IIS IIS > select server > SMTP Email Enter your SMTP Server name,port and specify credential according your SMTP server


0

To achieve the goal, please change “?mobile=1” to “?mobile=0” at the end the URL on mobile device. here is the client script someone wrote for the same: function fixMobileLinks { var qMobile = $().SPServices.SPGetQueryString()["mobile"]; if (qMobile == "0") { var siteCollectionUrl = "http://mySiteCol"; var jLink = 'a[href*="' + ...


0

You can get all SharePoint Online Active users using powershell by below given link steps. It is already available on MSDN. All SP Online Active Users If you want different kind on information than please find the details in below mentioned link. Details of all active users in SP Online


0

You can do it from O365 Admin center Sorry for bad screen


0

Yes this is possible. You need to go to the "/_layouts/15/AreaTemplateSettings.aspx" page. On that page, just ensure that your only your template is available on the right hand side. Also, make sure you have site collection admin rights.


0

This is what the query should have been: Path:"https://sitename.sharepoint.com/projects " contentclass:STS_Web Site<>{Site.URL} Also remember to give SHarePoint a chance to index your new sites.


1

You could either try with a wildcard Path:"https://sitename.sharepoint.com/projects/*" contentclass:STS_Web SiteTitle <> projects Or got with the URL Depth property: Path:"https://sitename.sharepoint.com/projects " contentclass:STS_Web SiteTitle <> projects UrlDepth=1 And to make it a little bit smoother, go with Path:{Site.URL} UrlDepth=1 ...


0

SP2016 still will have the 5k limit. The only thing that will change is that Sharepoint will be crating indexes automatically in your case it will not help as you already have them in place. For large amount of data in list library I always drop standard list views and switch to custom search. Map the fields you need to filter to managed properties and and ...


0

Yes, there is news about upcoming SharePoint 2016 on-prem will have > 5000 limit but don't know so far, As RTM version will generally available during the 1st week of May 2016. I am not sure, if that apply to Office 365 as well or not? Below office blog pointed out all the possible solution: Manage large lists and libraries in Office 365


1

if (_spPageContextInfo.serverRequestPath.contains("DispForm.aspx")) // View form if (_spPageContextInfo.serverRequestPath.contains("EditForm.aspx")) //Edit form if (_spPageContextInfo.serverRequestPath.contains("NewForm.aspx")) //New form You can try replacing contains with endsWith(), it should work better. ExecuteOrDelayUntilScriptLoaded("SP.js", ...


0

The below are the pre-requisites for SharePoint Admins to have the auditing capabilities via Compliance center. SharePoint admin. Exchange online license (this is required because all the underlying cmnd are running under exchange online with in office 365) the user should be a member of the organization management group (global admins will be having it as ...


0

this is an unfortunate problem with VS 2015 building sandboxed solutions for Office 365. The workaround is to just use VS 2013. Open the existing project, rebuild and publish. It will work. EDIT: problem is still there with Update 2 for VS 2015 and Update 2 for Office Developer Tools for VS 2015


1

The default top left global nav link should be the title of the site. What is your site title? Can you ensure your site is set to structural nav and try renaming your site?


0

Ok. Its my mistake, so basically in case anyone else have the same issue as me. I notice that Title of the Site is not set up. Site Setting - > Title, description and Logo. Once the title is input. It will fix the issue.


1

I presume you want to color the list like this: You can execute this in the Browser Console, or use TamperMonkey (Chrome) or GreaseMonkey (FireFox) to execute it by default on the Users page var users=document.querySelectorAll("div[data-value='ListItem']"); for(var n=0;n<users.length;n++){ var user=users[n]; var userString=user.outerHTML; ...


0

I am trying the same thing and had a similar error, and the solution was to do a Rule on Form Load. (It was the last rule in the set.) In addition to being "Locked," I needed to stipulate Locker does not contain userQuery(Name). Otherwise, I would lock myself out despite just assigning myself as the Locker! Hope this helps. Jared


3

Could it be part of the "New SharePoint Document Library Experiences"? Leaving as an answer as it is too long for a comment. New SharePoint Document Library Experiences MC44849 We are changing the experience for SharePoint Online document libraries. You’ll begin seeing this new feature starting April 6. How does this affect me? In the new ...


0

You can create a workflow to start when item is created or modified. This work flow check whether the date is due by comparing due date field with current date. If it is not due, set the workflow to pause for 1 day then modify any field in the list (you can create a field that does nothing but just for this purpose). Once modified, the workflow terminates ...



Top 50 recent answers are included