SharepointIssue
Gulp Bundle Issue Cannot Read Property Id Of Undefined
By fredericdietrich On 08/06/2021
Gulp bundle issue : Cannot read property 'id' of undefined
Gulp bundle issue : Field 'browser' doesn't contain a valid alias configuration
Gulp bundle issue : sub task errored after
Check that in your tsconfig.json, you've got this below :
"include": [
"src/**/*.ts", "src/**/*.tsx"
],
and not :
"include": [
"src/**/*.tsx"
],
SPLoaderError.loadComponentError
By fredericdietrich On 09/12/2020
SPFX react sur Internet explorer : [SPLoaderError.loadComponentError]: There was a network problem. This may be a problem with a HTTPS certificate. Make sure you have the right certificate.
It's not always à certificate error, in my case, i use code below in a service,
import 'core-js/modules/es6.string.includes.js';//in my case this line should be commented to fix the isssue
import 'core-js/modules/es6.number.is-nan.js';
import 'core-js/es6/array';
import 'es6-map/implement';
when including "@types/es6-promise": "^3.3.0" i don't need anymore import 'core-js/modules/es6.string.includes.js
Search Cannot Crawl Start Address
By fredericdietrich On 21/05/2020
Sharepoint Search The Start Address Cannot Be Crawled
even read permissions are good, search cannot crawl, i triied a lot of things found on the net, no one succeded. then i only add a new web application, and start a full crawl. the crawl succeded on each start adress, i don't know why but it works :)
By fredericdietrich On 15/05/2020
PSCONFIG.exe Configuration of SharePoint Products failed. Configuration must be performed before you use SharePoint Products. A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible
An exception of type System.Data.SqlClient.SqlException was thrown. Additional exception information: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
By fredericdietrich On 21/02/2019
format-default : The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
By fredericdietrich On 31/01/2019
Impossible de se connecter à la banque de termes sur la navigation par méta données gérées
Désolé... Nous n'avons pas pu créer l'ensemble de termes : Aucune connexion au service de métadonnées gérées par défaut n'a été spécifiée.
Sharepoint 2016 Register Javascript In Hive
By fredericdietrich On 24/01/2019
To register javascript file in 16/layouts
you should write with 15, sharepoint will translate it in 16 : <script type="text/javascript" src="/_layouts/15/testFDI/jquery.min.js"></script>
PowerShell Csom load property Issue
By fredericdietrich On 18/01/2019
Using Microsoft.SharePoint.Client.dll you can have issue after object loading
$file = $oWeb.GetFileByUrl($fileUrl);
$context.Load($file);
$context.ExecuteQuery()
$context.Load($file.ListItemAllFields)
$context.ExecuteQuery()
$file.ListItemAllFields #accessing to this property will thow exception below
format-default : The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
so you have to store property in a variable like that
$ListItemAllFields = $file.ListItemAllFields
$context.Load($ListItemAllFields)
$context.ExecuteQuery()
By fredericdietrich On 16/11/2018
Sharepoint caml query errors
The following exception occurred while trying to enumerate the collection: "Un ou plusieurs types de champs ne sont pas installés correctement. Accédez à la page des paramètres de liste pour supprimer ces champs.
i think my list was corrupted, but it was only my query who's got mistakes
if you see error above, try your query only with <Where></Where>, if she's working, your query contains errors