You can test for a variety of other contexts, including Browsers... %IF_CONTEXT_VALUE_BEGIN(BROWSER_TYPE,FIREFOX_MAC)%Message to Mac Firefox users here%IF_CONTEXT_VALUE_END% Browsers recognized are... FIREFOX_MAC -- Firefox on Mac OS FIREFOX -- Firefox on Windows IE -- Internet Explorer SAFARI -- Apple Safari CHROME -- Google Chrome OTHER -- Other than those above You can display a message dependent on the value of a metadata field for a given document on its Table of Contents, Title Content or Access Denied pages like this... %IF_CONTEXT_VALUE_BEGIN(METADATA_VALUE:field name,match value)%Your message here.%IF_CONTEXT_VALUE_END% For example, say you want to display a promotional message on Documents on which you've created a Yes/No field called "Special" and set it to Yes... %IF_CONTEXT_VALUE_BEGIN(METADATA_VALUE:Special,true)%Special promotional message here%IF_CONTEXT_VALUE_END% If you just wanted to display a message in cases where a certain metadata field exists at all, you could do it like this... %IF_CONTEXT_VALUE_BEGIN(METADATA_EXISTS,Authors)%There is an author field%IF_CONTEXT_VALUE_END% And on Access Deniedpages, you can display a specific message based on the reason why access was denied (helpful for error messages). For example, if you wanted to display a particular message to users who enter an incorrect username/password pair, you'd use something like... %IF_CONTEXT_VALUE_BEGIN(DENIED_REASON,6)%The username and password combination you have entered does not match our records.%IF_CONTEXT_VALUE_END% Other Access Denied reasons... 1 -- User is not authenticated 2 -- User is authenticated but has no content licenses 3 -- User is authenticated but has no license to the content they are trying to access 4 -- No username entered 5 -- No password entered 7 -- Account is not activated 8 -- Account has been cancelled
Downloaded from Tizra Support Resource Hub (support.tizra.com) by unknown.