Forum Discussion

RyanMcClelland's avatar
6 years ago

Customize Post a Question Button

We would like to either suppress the Post a Question button or redirect it to the Case Portal page (/t5/crmsupport/page) if a user has a certain role. Khoros previously developed a custom component ...
  • Payal's avatar
    Payal
    6 years ago

    RyanMcClelland - You can wrap this line of code in attempt recover as shown below:

    <#attempt>

    <#assign postUrl = postUrl.build() />

    <#recover>

    </#attempt>

     

    Let me know if this helps.

     

    Thanks!