Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
NSC | How to create a Portlet Script with Inline HTML to display an image from the File Cabinet
Scenario
The user has an announcement that they want to display in NetSuite using a custom portlet and when users click on the image, they will be redirected to another page.
Solution
In this example, I used the SuiteAnswers’ home page as the value of the href attribute in the <a> tag and then took the file link from a gif image in the File Cabinet and used it as value for the src attribute in the <img> tag in the inline HTML. To get the File URL, you must:
1. Go to Documents > Files > Images.
2. Click on the Name of the file that you want to use. This will open the
Expand your NetSuite knowledge by joining this month's Ask A Guru Live: PROCURE TO PAY. RSVP on this event now!
Refer a Member to the Community | Earn the Answer Accepter Badge | Vote for the contents you'd like to see
