Site collection is not working in IE11 but works in Chrome and Firefox

I have a site, which was created using sharepoint online, that works fine on Chrome and Firefox but not working in IE11. It works fine once I change the document mode (in developer mode) to 11 instead of 10. Not sure how to make it work without changing the document mode as this is not a solution (Can’t change this setting for the computers of anyone who visits the website).

I Will High Quality Data Entry, data collection& Web Research Ms Excel 20 Hours for $8

Do you need Reliable and Professional services for Data Entry, Data Mining, Web Research, Business Leads or List Building projects? YES, you are in the right place. I’ll do that for you in the least possible time. I CAN PERFECTLY DO:Online or Offline Data EntryWeb ResearchData MiningData CollectionAdmin SupportData ConversionPDF to ExcelCreation of Mailing Lists in ExcelLinkedin data collectionCreate E-Mail DatabaseWeb scraping. Please do contact me first before placing an order, to avoid cancellation.

by: djExppert
Created: —
Category: Data Entry
Viewed: 395


Restore Deleted Site Collection

I’m trying to restore a site collection that has somehow been marked ‘Deleted’. I’ve been unable to restore it, as we’re unable to reference it with any of the following options:

  • Restore-SPDeletedSite <GUID>
  • Get-SPDeletedSite <GUID>, just running Get-SPDeletedSite returns null
  • Checking for it in the Central Admin recycle bin (unsure if this would work)
  • Dismounting and re-mounting the content database
  • Creating a new Site Collection with a subsite, and remounting the old content database

The last option ended up creating a new site collection in our old content database that’s just an empty site collection. Our other sites are still accessible (eg .../sites/Archive), but the root site collection and its subsites are inaccessible.

We know it’s been deleted in some fashion because after going to the SQL server and running a query on the Site Collection in question. The query was:

SELECT [Id],[Deleted]  FROM [Content_Intranet_DB].[dbo].[AllSites]  WHERE ID='DD1CC06F-8BCC-4A0E-B8D1-96A25047BFB4' 

Which returned the following results.

enter image description here

Is there any way to make the root site collection re-accessible/undeleted except for the above attempts?

We don’t have a backup of this, as it’s a UAT/testing environment but there was some people doing development work on it before it disappeared. It looks like all of the content is still present (the database is the same size as before, the site looks like it’s just a toggled deleted flag, etc).

Is it possible to create site collection after creating new content database in Sharepoint 2019 CSOM (C#)?

I’m working on SharePoint 2019 environment.

I have just created site collection programmatically (CSOM) using MSDN Link

However, I want to create a content database through CSOM and point this newly created Content DB for creating above new site collection.

Any help is much appreciated!

Move Content Type from one Site Collection to another Site Collection

I have a custom content type “Employee” that inherits from the “Document Set” content type. It has metadata attached to it as well and it resides in a document library.

I would like to create a script to move the “Employee” content type from Document Library A in Site Collection A to Document Library B in Site Collection B.

I would like for all the metadata to stay in tact as well as all the folders and files that live under the Document Set.

Is this possible in SharePoint Online?

PowerApps Gallery Items not visible when collection as a source

I’m using PowerApps to create an application. For creating menu items, I’ve added a collection on the OnVisible event of the home screen. Below is the function snippet for your reference.

Clear(MenuItems); Collect(MenuItems, {   Name: "Home",   Screen:HomeScreen,   Image: home,   SelectedIcon: home_enabled   }, {   Name: "Settings",   Screen:Settings,   Image:  settings,   SelectedIcon: settings_enabled }); 

After adding a collection, I’ve added the gallery component from the Studio itself for the navigation and set its source to our MenuItems collection that I’ve created earlier.

Even after connecting to the correct collection, I’m not able to view those collections items in the gallery.

What could be the possible reasons?

Move file to another site collection

I have following code:

var sourceSite = "https://xx.sharepoint.com/sites/afd-286-oprydning-test-source"; var targetSIte = "https://xx.sharepoint.com/sites/afd-286-oprydning-test-target";  var ctx = ClientContextExtension.GetAppContext(sourceSite, _config.AppRegistrationId, _config.AppRegistrationKey, "SaveToExcel", new EmptyLogger()); Microsoft.SharePoint.Client.List list = ctx.Web.GetDocumentsList();  var item = list.GetItemById(1);  ctx.Load(item);  ctx.ExecuteQuery();   if (item.FileSystemObjectType == FileSystemObjectType.File)  {      var file = item.File;      ctx.Load(file);      ctx.ExecuteQuery();      var r = new ResourcePath();       file.MoveTo("/sites/afd-286-oprydning-test-target/TestDoc/Test01.docx", Movperations.Overwrite);      ctx.ExecuteQuery();  } 

I get following error:

Microsoft.SharePoint.Client.ServerException: ‘Server relative urls must start with SPWeb.ServerRelativeUrl’

Any pointers how to move a file? I also tried a fully qualified url but no luck.

According to documentation: https://docs.microsoft.com/en-us/previous-versions/office/sharepoint-csom/mt780894(v%3Doffice.15)

You should use MoveToByPath but I havent found a single hit on a sample on google.