Hi Everyone,
I get HTML from one page from the same eSpace and pass to extension and i have the bellow error.
The HTML cannot have the js and css inside?
Regards, Paulo Torres
Hi Paulo Torres,
Css need to send as input parameter same like as text.
For instance,
".Class1
{
background-color: #000;
font-size\:10px;
}"
and
send the html code like this
"<html>
<p>HI Hello Test </p>
<p class='Class1'> SAMPLE HTML CODE FOR TEST </p>
</html>"
try this..
May be for this error u need to check the html code u have send. Use ClassName for css and send the css code as input parameter as i mentioned above.
Thanks,
Vidya.U
vidya sri wrote:
Hi vidya sri,
https://www.outsystems.com/forums/discussion/59840/the-document-has-no-pages-error-while-converting-html-code-to-pdf/#Post229131
i have same issue and I posted my html code above link . I followed your suggestions and put my html code in " ". and style in ' ' . But still i am getting same error. you can find Html code in my attachment .
Thank you.
Same issue;
has anyone got the fix?
Dhiraj