Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

How do I get an absolute URL for a blob link using Groovy?

User_DRRPBMar 4 2021

I have a requirement where I need the full absolute URL for an image blob link. I can get the image blob vanity URL, but it is relative. How would I include the root domain?

Map imageAssetWithBlob = newAssetReader()
.forAsset(AssetId)
.selectAll(true)
.includeLinks(true)
.addBlobLinkInfo(blobLink)
.includeLinksForBlobs(true)
.read();
return imageAssetWithBlob._bloblink_;

Comments
Post Details
Added on Mar 4 2021
0 comments
107 views