“MS Dyn Crm Associado N: M REGISTRO JS” Respostas de código

MS Dyn Crm Associado N: M REGISTRO JS

var manyToManyAssociateRequest = {
    getMetadata: () => ({
        boundParameter: null,
        parameterTypes: {},
        operationType: 2,
        operationName: "Associate"
    }),


    relationship: "jaj_role_contact",


    target: {
        entityType: "contact",
        id: "c83aab0f-6863-ea11-a811-000d3aba6eaf"
    },
    
    relatedEntities: [
        {
            entityType: "jaj_role",
            id: "aae3175e-cb63-ea11-a811-000d3aba6eaf"
        },
        {
            entityType: "jaj_role",
            id: "ace3175e-cb63-ea11-a811-000d3aba6eaf"
        }
    ]

}


Xrm.WebApi.online.execute(manyToManyAssociateRequest).then(
    (success) => {
        console.log("Success", success);
    },
    (error) => {
        console.log("Error", error);
    }
)
iRoot CC

MS Dyn Crm Associado N: M REGISTRO JS

var manyToManyAssociateRequest = {
    getMetadata: () => ({
        boundParameter: null,
        parameterTypes: {},
        operationType: 2,
        operationName: "Associate"
    }),


    relationship: "jaj_role_contact",


    target: {
        entityType: "contact",
        id: "c83aab0f-6863-ea11-a811-000d3aba6eaf"
    },
    
    relatedEntities: [
        {
            entityType: "jaj_role",
            id: "aae3175e-cb63-ea11-a811-000d3aba6eaf"
        },
        {
            entityType: "jaj_role",
            id: "ace3175e-cb63-ea11-a811-000d3aba6eaf"
        }
    ]

}


Xrm.WebApi.online.execute(manyToManyAssociateRequest).then(
    (success) => {
        console.log("Success", success);
    },
    (error) => {
        console.log("Error", error);
    }
)
iRoot CC

Respostas semelhantes a “MS Dyn Crm Associado N: M REGISTRO JS”

Perguntas semelhantes a “MS Dyn Crm Associado N: M REGISTRO JS”

Mais respostas relacionadas para “MS Dyn Crm Associado N: M REGISTRO JS” em JavaScript

Procure respostas de código populares por idioma

Procurar outros idiomas de código