Successfully used inline html field to display a s...
# ask-stanley-ai
a
Successfully used inline html field to display a suitelet on the subtab of a custom record. Is it possible to crop what is shown to just include the list instead of the whole UI?
c
AI generated answer (using internal Slack threads):
Based on the conversations, it is possible to display a Suitelet on the subtab of a custom record using an inline HTML field. You can build your Suitelet to return HTML and add an Inline HTML field to the subtab that isn't Store Value. Then, create a User Event (UE) script that calls the Suitelet and sets the HTML field with the output of the Suitelet. Alternatively, you can set the default value of the Inline HTML field to be an iframe that displays the Suitelet, which would eliminate the need for the UE script. However, cropping what is shown to just include the list instead of the whole UI might be a bit tricky. The cropping or filtering of the content displayed would need to be handled within the Suitelet itself. The Suitelet would need to be designed to only return the desired content (in this case, the list). As for removing the buttons to add a new record or edit it from there, you can add the sublist by using a Saved Search instead of the method you are currently using. This will remove the edit/delete options on the sublist. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.859751403
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.841503263
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.841081381
Please provide your feedback on this answer.