|
Date: 4/13/2008 4:32 pm · Subject: Re: making a macro aware of the assetId of the Wobject in which it is · Rating: 0
Short answer: No. It will need to be a parameter.
You can use $session->asset->getId if and only if the Poll asset is the one whose URL is in the address bar.
So if the Poll is part of a Layout, that above will get the assetId of the Layout, not the Poll.
|