Pergunta

Eu não consigo copiar do corpo de um email de uma ação dentro de uma etapa de fluxo de trabalho.Eu posso colar novos conteúdos, mas não consigo invocar a entrada mágica para obter copiar para o trabalho.Existe alguma maneira de copiar o texto do editor?

Eu peguei uma cópia do arquivo .xoml do fluxo de trabalho - e pude ver o HTML codificado XML para o email.Certamente tem que haver uma maneira melhor?

Nota: isto está usando o SharePoint Designer 2010 (14.0.4750.1000)

Foi útil?

Solução

In SharePoint designer 2010, we can certainly copy the content of the workflow mail. Here is the way to do it:

  1. Click on the email action in your workflow (it means it should be selected).
  2. Next go to the advanced properties in the ribbon, if you click that "Send an Email Properties" dialog box will be opened.
  3. In that dialog box, there will be a row called body, click on that, in the right column, you will be able to see the content of your body.
  4. Just right click on that and select copy and paste it in a notepad or word document!

That's it! You don't need to do the formatting again and again, just copy and paste it. :D

Outras dicas

You can open XML in notepad and then copy the text.

It will not copy the fields though.

Here is the technique I use quite a lot when I cant copy text which I see on the screen:

If you have Microsoft OneNote installed, you can capture an image representing the body and then past it in One Note. Then right-click on the image and select "Copy Text from Picture" option. This will extract the text from the picture and it works quite well.

In the 2007 editor, you can copy text from the SPD email designer, You just cant copy the lookup variables [%xxxxxxx%]. try this method, maybe it will work with 2010. its laborious, but you can copy out the HTML for the email AROUND the lookups and then replace the lookups in the destination file in the SPD with a placeholder ("XXXXXXXXXXXX"). you can then optimize the HTML and then paste back into the designer and replace the Lookups.

  1. start from All files in SharePoint designer
  2. go to Workflows folder and open the one you are looking for
  3. right click the file with biggest size usually with extension of xoml and select open with Text editor of your choice
  4. you can find your encoded html body in encoded format starting from something like ns0:DynamicStringActivity tag

  5. open http://www.web2generators.com/html/entities and decode html

  6. inspect the node with firebug or google web developer tool inspector and copy that html
  7. do whatever you want with that

It is not possible to copy text from SPD workflow emails

Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange
scroll top