Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

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
241 views