0

Problem scenario:

In my apex application, i have some html code which i am inserting into apex page as static content which is working file.. but this code is also used in different pages, for that i have to copy same code and paste into static content region of very page where i want that code.

goal: i want to place this code into application static file and use file content into static content region of the page.

I have tried html import to solve this issue but not working.

1 Answer 1

2

I don't know what your code does nor Apex version you use, but - consider putting it onto Page 0 (in lower versions) or Global Page (in recent ones) (note that you have to create exactly "Global Page" - choose it from list of available page types, otherwise it won't work as expected if you just use "page number = 0" for other page types).

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks for the reply.. I am using apex 5.1 version

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.