cancel
Showing results for 
Search instead for 
Did you mean: 

Use of HTML and Javascript within EP

Former Member
0 Kudos

I have a newbie question:

I have several HTMl documents with javascript embedded like e.g. various calculators we use on the current website.

If I want to migrate these html sources to EP content, what can I best do than?

I assume that all existing html and javascript renders as normal without too many development involved?

Is there a good example how-To source which I can use to demonstrate this?

many thanks for your help

Accepted Solutions (0)

Answers (2)

Answers (2)

pravesh_verma
Active Contributor
0 Kudos

Hi,

Well there are two options:

<b>1) If you are interested to make the portal component and then use in Portal.

2) If you want to use your earlier HTML document as it is inside the portal.</b>

In case 1 you need to make the Portal objects and then make a portal project. You can use javascript in that as well.

In case 2 you can directly make the URL iView of the HTML document and then view it from the portal. Well this is not a good way of using your javascript. Personally I suggest you to go for Portal Project.

I hope this help you!!

Regards

Pravesh

PS: Please consider reewarding points.

Former Member
0 Kudos

Thanks all, indeed the most simplistic way is to use the html source as-is and this doesn't require any development work/time. All output renders as normal.

pravesh_verma
Active Contributor
0 Kudos

Hi Origin,

Its great that you got some way out for your problem. I too suggested you one of this solution :). <b>Option 2</b>

<b>Please close the thread and reward points as well!!</b> This is the SDN way of saying thanks. You must always reward points to people helping you.

Regards

Pravesh

Former Member
0 Kudos

Hi

The most easier way is creating the abstract portal components for the html and javascripts and inserting it inside the out.print method.

Regards

Geogi