Assetid attribute not showing for some assets such as Redirect Page


(Nic Hubbard) #1

I am looking at the *_management.inc file for a few different assets such as the Redirect Page. Strangely I don't see any assetid attributes. Using the SOAP API to grab the attributes of that asset, I still don't see the assetid attribute

 

But, the _admin interface shows it right in the Location section on the Details screen. I realize it is using the paintRedirectAssetid function to print the actual asset picker, but it seems strange there is no attribute for it...and not of the assid attribute type?


(Anthony Barnes) #2

The value of the asset that the redirect asset is pointing to is stored in the link tree as a notice link under the redirect page with the link type 'redirect_asset'. I don't think anything about the selected asset you pick from a redirect asset gets stored as an attribute, and the same is probably true for many of those other asset types you mentioned.


(Nic Hubbard) #3
The value of the asset that the redirect asset is pointing to is stored in the link tree as a notice link under the redirect page with the link type 'redirect_asset'. I don't think anything about the selected asset you pick from a redirect asset gets stored as an attribute, and the same is probably true for many of those other asset types you mentioned.

 

Ah, ok, thanks. This is going to be tricky...