I want to display the Icon of a Dev Product and need the Asset ID to do so. How do i get the Asset ID?
✓ ANSWER ACCEPTED
How to get the AssetID of a Developer Product?
2 answers
✓ Accepted answer
local productID = 1
local productInfo = MarketplaceService:GetProductInfo(productID, Enum.InfoType.Product)
local icon = productInfo.IconImageAssetId
Use something like that. As I do not know exactly what you are doing, this is pretty generalized. "icon" would be the image id. You may use "http://roblox.com/asset/?id="..icon
(https://developer.roblox.com/en-us/api-reference/function/MarketplaceService/GetProductInfo)
- Go into Studio
- Insert a Decal into the workspace where you can see it.
- For the Decal Image, copy and paste the link of the icon/decal
- It will change to the Asset ID Automatically.
Extra: If you would like so download it, once you get the Asset ID paste it behind this "http://roblox.com/asset/?id=" and enter it into your search bar!
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Remember to say I answered your question, if I did.
I actually wanted to find out how to get the asset id of a dev product to directly use the icon of the dev product but thanks anyway