Hi Neil,

<a href="<%anc_link%>"
<reddot:cms>
    <if>
        <query valuea="Escape:Text(<%anc_link%>).IndexOf(http:)" 
operator="!=" valueb="Int:-1">
            <htmltext>
                class="external"
            </htmltext>
        </query>
    </if>
</reddot:cms>
<%hdl_headline%>
</a>

You can parse the anc_ no problem and this is what you want.

If you are using an anchor, all external url has to have http://, but 
internal URLs don't, so use http: as your differentiator.

Hope you didn't switch to using standard field because that is a no no from 
OpenText professional service's perspective.

Best regards,

-Jian 

On Wednesday, January 28, 2015 at 7:11:44 AM UTC-5, Neil wrote:
>
> Hi Sara
>
> Yes, it seems we'll need to switch to a standard field.
>
> That's great, though - we use PreExecute a lot to check on strings and 
> good to know this can be done more natively with rendertags.
>
> Thanks
>
> Neil
>

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reddot-cms-users+unsubscr...@googlegroups.com.
To post to this group, send email to reddot-cms-users@googlegroups.com.
Visit this group at http://groups.google.com/group/reddot-cms-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to