I have a DCT with a Text box, and it will contain an relative URL eg. /en/image/super.jpeg
This needs to be changed into a absolute URL eg.
http://super.super/en/image/super.jpegFor this I need to read the URL part (eg.
http://super.super)from a text file stored in different folder and then use that URL to append with relative URL and finally write that data into output file. The DCR should NOT have absolute URL. Only on Generate() should this happen.
How do I write the generate() in js file for this activity ?
P.S. Sorry, I m not a JS experienced candidate.