Skip to main content
Known Participant
Jul 8, 2025 7:20 AM UTC
Question

Safelink() Function not responding

So as shown in the above image iam using safelink() function for the buttons "Recruiter" and "Vendor" , etc... and i gave the web address of another site, but when i click on the button iam getting no response as if the button is just a dummy button, it is  doing nothing. Have i made any errors in configuring the safelink function. Please someone guide me through it.

    3 replies

    stefanhelzle0001
    Brainy
    Jul 8, 2025 8:33 AM UTC

    Buttons do not support links.

    As per the Appian UX guidelines, use buttons for taking action, and links for navigation.

    docs.appian.com/.../ux-buttons-vs-links.html

    shubhama926776
    Brainy
    Jul 8, 2025 8:53 AM UTC

    You cannot directly add a link to a standard a!buttonWidget(). However, you can use a!cardLayout() as a clickable button alternative by configuring its link property with a!safeLink().

    https://docs.appian.com/suite/help/25.2/sail/ux-card-layout.html

    This approach allows you to create interactive elements that navigate to external URLs

    शुभम्
    harshas2775
    Brainy
    Jul 8, 2025 10:30 AM UTC

    Buttons cannot have links! Check the description of button layout for allowed configurations. Also for links use a link field or other components that have links attribute like richtextdisplayfield(), cardlayout(), etc. 


    I highly recommend you to complete Appian Training paths in Appian Academy to better understand the basics of Appian design objects and SAIL components! 

    Happy to help. Even happier to optimize.