Configurar Microsoft Graph API en SPFx

Primer paso: Añadir el recurso en package-solution (Resource y Scope): { "$schema": "https://dev.office.com/json-schemas/spfx-build/package-solution.schema.json", "solution": { "name": "spfx-package", "id": "8s13d6v9-d221-468d-22e4-2d207b966cd2", "version": "1.0.0.0", "includeClientSideAssets": true, "skipFeatureDeployment": true, "webApiPermissionRequests": [ { "resource": "Microsoft Graph", "scope": "User.ReadBasic.All" } ] }, "paths": { "zippedPackage": "solution/spfx-package.sppkg" } Segundo Paso: Aprobar los permisos desde el Admin Center de nuestro tenant (Advanced -> …

Sigue leyendo Configurar Microsoft Graph API en SPFx

Script Editor Web Part para Modern Pages en SharePoint Online

Para todos aquellos que hemos trabajado con Script Editors en SharePoint Online veremos que ya no tenemos esa opción en el nuevo diseño de Microsoft basado en React. Podéis encontrar su equivalencia en el propio GitHub de Microsoft que "devuelve" este componente para los Modern Sites: https://github.com/SharePoint/sp-dev-fx-webparts/tree/dev/samples/react-script-editor La solución ha sido creada por Mikael Svenson, …

Sigue leyendo Script Editor Web Part para Modern Pages en SharePoint Online

SharePoint 2013: Error occurred in deployment step ‘Add Solution’: An object in the SharePoint administrative framework, «SPSolutionLanguagePack

Error Error occurred in deployment step 'Add Solution': An object in the SharePoint administrative framework, "SPSolutionLanguagePack Name=0 Parent=SPSolution Name=XXXXXXXXXX.wsp", depends on other objects which do not exist. Ensure that all of the objects dependencies are created and retry this operation. Solution 1. Go to Services and Stop SharePoint Timer Service 2. Open C:ProgramDataMicrosoftSharePointConfig(GUID folder). 3. …

Sigue leyendo SharePoint 2013: Error occurred in deployment step ‘Add Solution’: An object in the SharePoint administrative framework, «SPSolutionLanguagePack

ERROR: Retrieving the COM class factory for component with CLSID {‘XXX…’} failed due to the following error: 80040154

ERROR Retrieving the COM class factory for component with CLSID {'XXX...'} failed due to the following error: 80040154. CAUSE You're trying to build your project in x86 and you've to do it in x64. SOLUTION 1. Go To Your Project Properties. 2. Select 'Build' (Left Tabs). 3. Change the property 'Platform Target' to 'Any CPU' …

Sigue leyendo ERROR: Retrieving the COM class factory for component with CLSID {‘XXX…’} failed due to the following error: 80040154