Use a inclusão de script para modificar o modelo de e-mail do resumo do projeto.
Antes de Iniciar
Certifique-se de que Now Assist para SPM esteja instalado e que a habilidade de resumo do projeto de e-mail esteja ativa.
Função necessária: administrador
Procedimento
-
Navegar até .
-
Abra a inclusão de script ProjectInsightsEmailTemplateCustomConstants e atualize a constante ProjectInsightsEmailTemplateCustomConstants.EMAIL_HEADER_HTML do cabeçalho do e-mail.
Este exemplo demonstra a inclusão de script para o cabeçalho do e-mail da seguinte forma:
ProjectInsightsEmailTemplateCustomConstants.EMAIL_HEADER_HTML = `<p><span style="color: white;"><a href="https://www.servicenow.com/" target="_blank" rel="noopener noreferrer nofollow"><span style="color: white; text-decoration: none;"><span style="color: blue;"><img style="height: 30px; width: 150px; border: none;" src="sn_spm_gen_ai.sn-logo-project-insights.png" alt="servicenow logo" height="30px" border="0" /></span></span></a></span></p>`;
-
Atualize a constante ProjectInsightsEmailTemplateCustomConstants.EMAIL_FOOTER_HTML do rodapé do e-mail.
Este exemplo demonstra a inclusão de script para o rodapé do e-mail da seguinte forma:
ProjectInsightsEmailTemplateCustomConstants.EMAIL_FOOTER_HTML = `<p style="border-top: 1px solid #293e40; line-height: 0;"><span style="color: #999999;"> </span></p><div style="caret-color: #212121; color: #212121; font-family: Aptos; font-size: 16px; width: 100%; margin: 0 auto; padding: 0; background-color: #ffffff;"> <!-- Logo Section --> <div style="line-height: 0.8;"> <span> <a href="https://www.servicenow.com/" target="_blank" rel="noopener noreferrer nofollow" style="text-decoration: none;"> <img src="sn_spm_gen_ai.sn-logo-project-insights.png" alt="servicenow logo" style="height: 20px; width: auto; border: none;" /> </a> </span> </div> <!-- Address and Footer Information --> <div style="font-family: 'Century Gothic', CenturyGothic, Helvetica, sans-serif; font-size: 12px; line-height: 0.8; color: #293e40; margin-top: 5px;"> <p style="margin-bottom: 0; padding: 0; line-height: 0.8; font-size: 10px;"> <span>2225 Lawson Lane, Santa Clara, CA 95054, United States</span> </p> <p style="margin-bottom: 0; padding: 0; line-height: 0.8; font-size: 10px; color: #293e40;"> <span>© 2024 ServiceNow. All rights reserved</span> </p> </div> </div>`;
Na conclusão, o modelo de e-mail de resumo do projeto é personalizado com o cabeçalho e o rodapé.