Displaying an Image from External API on Interface Load ?

Certified Senior Developer

Hi,

I want to display an image from an external API call. Currently, I can achieve this on the interface using a button, but it is not ideal. The user wants to load this image from the API on interface/page load without the need to click on the button. Is it possible? Below is the current call I use for the button. thank you.

a!buttonArrayLayout(
buttons: {
a!buttonWidget(
label: "View API Image",
saveInto: rule!GI_APIExternal_itemImage(
imageNumber: Local!ImageNumber,
onSuccess: {
a!save(local!FTNICallresult, fv!result),
a!save(
local!AppianInternalDocumentID,
rule!LCP_GetNumberOutOfText(local!Callresult.body.imageData)
)
},
onError: {
a!save(
local!CallErrorMessage,
fv!error.message
)
}
),
size: "STANDARD",
style: "NORMAL"
)
},
align: "START"
)

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data