SharePoint Online: Unable to create custom form – Could not save the list changes to the server

I am not able to create custom form for any list across the whole tenant and getting the error:

“Could not save the list changes to the server”.

I am working in SharePoint online and using SP Designer 2013. I am the site collection administrator.

It was working before and stopped working a few days back. I have tried following things but the issue is yet not resolved:

1) Checked “Allow custom scripts” from admin center.

2) Add and customize pages permission is granted.

3) Cleared designer cache.

4) Checked using another site collection administrator account.

SharePoint Online – PowerShell – CSOM ExecuteQuery Exception is Root Element is Missing

I am used to working with SharePoint on-premises environments, but I am now trying to come up to speed with SharePoint Online. I can connect to my tenant using Connect-SPOService and use the standard SharePoint Online cmdlets, so my credentials are working and that route of access seems to be in good order for me.

However, I will need to use the greater utility of CSOM for work that I need to do. Initially, I have just tried to set up a simple PowerShell procedure to start walking through some of the basics using CSOM with SharePoint Online. But I continue to have a problem with ClientContext.ExecuteQuery. It always fails with the “root element is missing” error. I’m not sure if this is due to the query not retrieving any data or something else relating to my environment.

I currently have my own SharePoint tenant with some initial sites and lists. I am the only user and administrator. Everything is still very simple. I have installed and imported (using PSGallery) the following modules to set my PS environment (and sessions). I think that I have identified everything that I need, but it’s certainly possible that I am missing something important.

   ModuleType Version    Name                                 ---------- -------    ----                                    Binary     16.0.90... Microsoft.Online.SharePoint.PowerShell    Manifest   3.1.0.0    Microsoft.PowerShell.Management       Manifest   3.0.0.0    Microsoft.PowerShell.Security        Manifest   3.1.0.0    Microsoft.PowerShell.Utility           Script     1.2        PSReadline                             Script     1.0.0      SharePointOnline.CSOM                 Binary     3.11.19... SharePointPnPPowerShellOnline        Script     2.1.6      SharePointSDK  

I am working in Windows 10 with PowerShell 5.1 (running as Administrator). Everything is still very simple, but I can’t get past the query execution to load the web context so I can start trying to do additional things.

I have found many online examples of PowerShell/CSOM to connect to sites and set context. I’ve tried them all (at least it seems like I have), but nothing has worked so far. I can’t find anything else to try or additional diagnostic steps to take. So I would welcome any suggestions at this point.

Here is a PS Session Log of one of my test runs with the error message at the end …

PS C:>$  LibPath = "C:\Program Files\WindowsPowerShell\Modules\SharePointOnline.CSOM.0.0" PS C:>[System.Reflection.Assembly]::LoadFile("$  LibPath\Microsoft.SharePoint.Client.dll") GAC    Version        Location ---    -------        -------- False  v4.0.30319     C:\Program Files\WindowsPowerShell\Modules\SharePointOnline.CSOM.0.0\Microsoft.SharePoint.Cl...  PS C:>[System.Reflection.Assembly]::LoadFile("$  LibPath\Microsoft.SharePoint.Client.Runtime.dll") GAC    Version        Location ---    -------        -------- False  v4.0.30319     C:\Program Files\WindowsPowerShell\Modules\SharePointOnline.CSOM.0.0\Microsoft.SharePoint.Cl...  PS C:>[System.Reflection.Assembly]::LoadFile("$  LibPath\Microsoft.SharePoint.Client.UserProfiles.dll") GAC    Version        Location ---    -------        -------- False  v4.0.30319     C:\Program Files\WindowsPowerShell\Modules\SharePointOnline.CSOM.0.0\Microsoft.SharePoint.Cl...  PS C:> PS C:># try simple connection test PS C:>Write-Host "Start connection test ..." Start connection test ...  PS C:> PS C:>$  UserName = "xxxxxxx@xxxxxx.onmicrosoft.com" PS C:>$  SiteUrl = "https://xxxxxx.sharepoint.com/sites/Testing" PS C:>$  ctx = New-Object Microsoft.SharePoint.Client.ClientContext($  SiteUrl) PS C:> PS C:>$  pwd = Read-Host -Prompt "Enter password" -AsSecureString Enter password: ********** PS C:>$  securePwd = ConvertTo-SecureString $  pwd -AsPlainText -Force PS C:> PS C:>$  Cred = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($  UserName, $  securePwd) PS C:> PS C:>$  ctx.credentials = $  Cred PS C:>if (!$  ctx.ServerOjectIsNull.Value) {     Write-Host "Connected to $  SiteUrl" -ForegroundColor Green } Connected to https://xxxxxx.sharepoint.com/sites/Testing  PS C:> PS C:>$  web = $  ctx.Web PS C:>Write-Host "Context is $  ctx" Context is Microsoft.SharePoint.Client.ClientContext  PS C:>Write-Host "Web is $  web" Web is Microsoft.SharePoint.Client.Web  PS C:>$  ctx.Load($  web) PS C:>$  ctx.ExecuteQuery()  **Exception calling "ExecuteQuery" with "0" argument(s): "Root element is missing." At line:1 char:1 + $  ctx.ExecuteQuery() + ~~~~~~~~~~~~~~~~~~~     + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException     + FullyQualifiedErrorId : XmlException** 

List view grouped by type “Number” then by type “Text” does not expand to show entries in SharePoint Online

List view is grouped by field “Created year” of type “Number” and then by field “Created month” of type “Text” does not show entries while trying to expand the grouping. Both are calculated columns and return Number and Text respectively.

I have also tried by returning Date from “Created year” and also Date from “Created month” but it still does not let item entries expand

Column: Created year settings: enter image description here

Column: Created month settings: enter image description here

View group by settings: enter image description here

List view does NOT expand values: enter image description here

Where am i wrong?

ScrollView no funciona en WebView cuando cargo la página Excel Online

estoy utilizando cargar un archivo de Excel desde Excel Online en WebView, aunque ahora estoy probando con AdvancedWebView y también se muestra bien, pero no me funciona el ScrollView

Cuando se cargar la página web con el Excel en un móvil el menú de Excel ocupa bastante, necesito que se desplace y así poder tener a la vista las celdas, ya introducir los datos el teclado virtual llega a ocultar todas las celdas.

Este es el código con el que estoy probando ahora, y me sigue sin funcionar el ScrollView para que pueda deslizarse el menú de Excel.

<?xml version="1.0" encoding="utf-8"?> <ScrollView     xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     xmlns:app="http://schemas.android.com/apk/res-auto"     android:fillViewport="true">      <LinearLayout         android:layout_width="match_parent"         android:layout_height="wrap_content"         android:orientation="vertical" >          <RelativeLayout             android:layout_width="match_parent"             android:layout_height="wrap_content" >                  <im.delight.android.webview.AdvancedWebView                     android:id="@+id/webView_Libreria"                     android:layout_width="match_parent"                     android:layout_height="match_parent" />                  <ProgressBar                     android:id="@+id/ProgressBar"                     style="?android:attr/progressBarStyleLarge"                     android:layout_width="wrap_content"                     android:layout_height="wrap_content"                     android:layout_centerHorizontal="true"                     android:layout_centerVertical="true"                     android:gravity="center"                     android:visibility="gone">                 </ProgressBar>         </RelativeLayout>      </LinearLayout>  </ScrollView> 

¿Sabe alguien como poder realizar el ScrollView y poder desplazar la página web?

Gracias.

Earning CPE for SANS/GIAC certification renewal through online courses

I am currently a holder of GIAC Security Essentials certificate (GSEC) that expires soon, so I’m looking for a way to renew this certificate in the most efficient way.

GIAC Certification Renewal page says that it is possible to earn all necessary 36 CPEs through “ISO-17024-Accredited InfoSec Related Certifications and Affiliated Training”. I want to take a certification exam for CIPP/E provided by IAPP, who is in the list of accredited providers.

However, after reading the document at the last URL, I’m still not quite sure how to interpret the sentence “relevant activities completed through an InfoSec related ISO-17024 accredited certification and its affiliated training providers“. Do CPEs get earned only for training hours/days, or is it sufficient to just get a certificate?

More specifically, my questions are:

  • In order to get the 36 CPEs, do I necessarily need to go through a training, or would it be sufficient to just successfully pass the exam and and get a CIPP/E certificate?
  • If I have to take a training, would an online training course be accepted?
  • If so, how many CPEs can I get for it? The description of the course length is pretty vague: “The training comprises 11 modules with an audio run-time of approximately 2-3 hours”, which gives me pessimistically 22 hours. I could hope that it would be at least 24 hours, plus get the remaining 12 CPEs through Field Work Experience, but such approach lacks certainty.

I would be grateful to anyone who shares his/her experience.

Adding tags to Sharepoint online Office 365 documents via C# and CSOM

I have a small project that requires migrating from Sharepoint 2010 to Sharepoint Online. According to Microsoft, tags have been discontinued.

I have been able to add Enterprise Keywords and custom metadata columns which works great.

Sharepoint Online still has a column for tags (despite it not being editable). The client is still very much focused on tags for the moment. I cannot seem to figure out how to assign a tag via C#. Is there anyone who could point me in the right direction?

using (var cc = new OfficeDevPnP     .Core     .AuthenticationManager()     .GetSharePointOnlineAuthenticatedContextTenant(         "https://company.sharepoint.com/sites/",          "Test@test.com",          "password"))      {         Web web = cc.Web;          FileCreationInformation newFile = new FileCreationInformation();         newFile.Content = System.IO.File.ReadAllBytes(@"C:\Test\Upload.jpg");         newFile.Url = "Upload.jpg";          Microsoft.SharePoint.Client.List docs              = web.Lists.GetByTitle("Documents");          Folder folder = docs.RootFolder.Folders.GetByUrl("General");         File uploadFile = folder.Files.Add(newFile);          //uploadFile.Tag = ???          cc.Load(docs);         cc.Load(uploadFile);         cc.ExecuteQuery();      } 

What do I set at uploadFile.Tag?

Enabling an attachments field when creating an event in SharePoint Online?

I have my site configured with a basic out of the box events app, where the user can click ‘add event’ and fill in the details of it.

When filling in this info, I want the user to be able to attach documents. This might be for handouts or presentation slides that people attending the event can access.

Within the events content type, I can’t find any column for attachments. I’ve also made sure the attachments option is enabled in the list settings.

Does anyone know how I can enable this? Thanks

400 Bad Request when updating list item in SharePoint Online using HttpClient

I have written a REST API which to update the a document metadata in SharePoint. Document resides in a Folder in a Library. I have tried the following code:

var stringData = ("{'__metadata': { 'type': 'SP.Data.IncidentItem' }, 'NameOfUploader': '" + NameOfUploader + "'}");                  client.BaseAddress = new Uri(newurl);                 client.DefaultRequestHeaders.Clear();                 client.DefaultRequestHeaders.Add("Accept", "application/json;odata=verbose");                               client.DefaultRequestHeaders.Add("IF-MATCH", "*");                 //client.DefaultRequestHeaders.Add("X-HTTP-Method", "PATCH");                 client.DefaultRequestHeaders.Add("ContentLength", stringData.Length.ToString());                 client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", accessToken);                  string FolderUrl = string.Format("_api/web/GetFileByServerRelativeUrl('{0}')/ListItemAllFields", folderServerRelativeUrl + "/" + fileName);                 StringContent strContent = new StringContent(stringData);                 strContent.Headers.ContentType = MediaTypeHeaderValue.Parse("application/json;odata=verbose");                 strContent.Headers.ContentType.Parameters.Add(new NameValueHeaderValue("odata", "verbose"));                 HttpResponseMessage response = client.PatchAsync("_api/web/GetFileByServerRelativeUrl('"+FolderUrl+"')/ListItemAllFields", strContent).Result;                  response.EnsureSuccessStatusCode(); 

I am getting 400 Bad Request at “HttpResponseMessage response“. I have provided all headers, still couldn’t figure it out. I have tried this in POSTMAN with all the headers and this metadata, it’s all working fine. Can Anyone please tell what I am missing?