Mostrar imágen Base64 en Adaptive Cards al hacer post de un mensaje en Teams

Si al intentar añadir una imágen en el JSON de una Adaptive Card para enviar como mensaje en Teams no se renderiza (usando el data:image en la url de la imágen), puede ser por el tamaño máximo permitido en el JSON de la adaptive card (28kb en la fecha de creación de este post), pero …

Sigue leyendo Mostrar imágen Base64 en Adaptive Cards al hacer post de un mensaje en Teams

Llamar a una función asíncrona dentro del hook useEffect en React Function Components

Si habéis intentado llamar a una función asíncrona dentro del hook de useEffect es posible que os hayáis encontrado con un error que no os lo permite: Argument of type '() => Promise<void>' is not assignable to parameter of type 'EffectCallback'. El error aparece al intentar añadir el "async", pero no se puede asignar la …

Sigue leyendo Llamar a una función asíncrona dentro del hook useEffect en React Function Components

Error: The file PS1 is not digitally signed. You cannot run this script on the current system.

Error: .\FILE.ps1 : File C:\FILE.ps1 cannot be loaded. The file C:\FILE.ps1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170. Fix (Bypass): Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass [Bypass policies] Nothing is blocked and there are no warnings …

Sigue leyendo Error: The file PS1 is not digitally signed. You cannot run this script on the current system.

Microsoft Graph API – Syntax error: character ‘*’ is not valid at position 0

Error: { "error": { "code": "BadRequest", "message": "Syntax error: character '*' is not valid at position 0 in '*'.", "innerError": { "request-id": "aa4dd443-8100-46d4-8d3d-da83ac969266", "date": "2018-10-02T08:41:03" } } Posible Motivo: Estamos utilizando una de las variables que aparece en la documentacion, por ejemplo 'search' de este modo: https://graph.microsoft.com/v1.0/sites?$search=* Solución: Utilizar la variable directamente mediante su nombre, …

Sigue leyendo Microsoft Graph API – Syntax error: character ‘*’ is not valid at position 0

Error Microsoft SharePoint is not supported in 32-bit process

Error An unhandled exception of type 'System.PlatformNotSupportedException' occurred in Microsoft.SharePoint.dll Additional information: Microsoft SharePoint is not supported in 32-bit process. Please verify that you are running in a 64-bit executable. Explicación Se trata de un proyecto que se esta ejecutando en modo 32 bits y la librería de SharePoint no está soportada, debe ser en …

Sigue leyendo Error Microsoft SharePoint is not supported in 32-bit process

Error al guardar Infopath con llamadas REST (No sobreescribe el item)

Caso Tenemos un formulario Infopath con llamadas REST para obtener valores que utilizamos en Dropdowns. Al crear un nuevo item en la lista de SharePoint funciona. Al editar ese item no podemos guardarlo, nos genera un error. Test Si quitamos las llamadas REST, no se produce el error. Solución En Infopath vamos a las opciones …

Sigue leyendo Error al guardar Infopath con llamadas REST (No sobreescribe el item)

Obtener padding en IE con jQuery (Aparece vacío)

La API de jQuery especifica que la obtencion de propiedades CSS puede no funcionar en todos los navegadores si no utilizamos el nombre en detalle que queremos obtener. Es decir, si queremos obtener el padding de un elemento y escribimos: $(myElement).css("padding"); Es probable que en Chrome funcione pero en IE nos devuelva un string vacío. …

Sigue leyendo Obtener padding en IE con jQuery (Aparece vacío)

Error: Field type ‘XXX’ is not installed properly. Go to the list settings page to delete this field

Normalmente suele producirse cuando desplegamos una columna de sitio errónea y la modificamos. Para resolverlo debemos buscar ese campo en la base de datos de contenido y borrarlo. Lo encontramos con: SELECT * FROM [CONTENT_DB].[dbo].[ContentTypes] WHERE Definition Like '%COLUMN_GUID%' Y lo borramos con: DELETE FROM [CONTENT_DB].[dbo].[ContentTypes] WHERE Definition Like '%COLUMN_GUID%' En ambos casos debemos escribir el …

Sigue leyendo Error: Field type ‘XXX’ is not installed properly. Go to the list settings page to delete this field

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