Error while trying to use Create HTML Content activity

Im trying to use this activiity to generate html file, but Im getting an error: "A variable, RuntimeArgument or a DelegateArgument already exists with the name ‘HTML Template’. Names must be unique within an environment scope. Anyone knows about this error?

Once the first time the HTML Content ist worked on (pressing open editor) a html template file is generated and the path to the file can be checked there

grafik

From the screenshot we can see, that the HTML code is placed directly

Do a fixing like:

  • drag drop a second create HTML Content below
  • open the editor and do a mini modification e.g. hello world text
  • close editor
  • save xaml

check the filepath to the template
transfer origin HTML code to the new template file (e.g. text editor or open editor again, source code editing)
then delete the first / old Create HTML Content Activity

grafik

I did your suggestion, the error now disappear in studio, but when I run a devops pipeline to pack the project I got error.

besides that, the code is working properly, building the html and Im using it in my email. But Im not able to pack it and transfer to a server.

@ppr sorry for the delay, in the end the problem was an out of date package in the robot :smiley:

There were diferent version of robot in my development and quality tenant.

@Camila_Caldas
Perfect so the topic can be closed by

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.