dynamics_update_form
Update the XML of a form in Microsoft Dynamics CRM to modify its structure and functionality.
Instructions
Atualiza o XML de um formulário
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formId | Yes | ID do formulário | |
| formXml | Yes | XML do formulário atualizado |
Implementation Reference
- src/tools/schema/index.ts:365-373 (handler)The handler for the dynamics_update_form tool which updates the formxml and publishes the change.
async (params: z.infer<typeof UpdateFormSchema>) => { await client.update("systemforms", params.formId, { formxml: params.formXml, }); // Publish the entity return { content: [ { - src/tools/schema/index.ts:361-364 (registration)Registration of the dynamics_update_form tool.
server.tool( "dynamics_update_form", "Atualiza o XML de um formulário", UpdateFormSchema.shape, - src/tools/schema/index.ts:61-64 (schema)Input schema definition for the dynamics_update_form tool.
export const UpdateFormSchema = z.object({ formId: z.string().describe("ID do formulário"), formXml: z.string().describe("XML do formulário atualizado"), });