The CreatorCon Call for Content is officially open! Get started here.

Changing the url on Virtual Agent content popup after submission

zynsn
Tera Expert

Hi Developers,

 

How do we redirect the url that is presented in popup after a request/incident is submitted? Currently it is being directed to SP and we want to have the url redirected to Employee Center.

 

I have tried changing the sys_properties following the KB below to ESC. It is working well for all content cards in Virtual Agent but the virtual agent pop up form is still showing hyperlink urls to SP. I tried looking  into the UI builder form for the virtual agent popup form too but cannot find anywhere to change the url to be redirected to our own portal instead of service portal.

How to redirect the Virtual Agent Bot Response Card record URL to a portal other than /sp - Support ...

5 REPLIES 5

Unique45
Mega Sage
Mega Sage

@zynsn , How do you resolve this issue?

I am facing the same issue.

Please mark correct/helpful if this helps you!

Bharat2
Tera Contributor

Did you find the solution to this?

Pavan Kumar28
Tera Contributor

Hi @zynsn,

Did you find out the solution ?

Regards,
Pavan.

zynsn
Tera Expert

Just recently found where to update this.

 

Open the 'Virtual Agent popup content'  experience in the UI builder, look for the 'acknowledge' experience. Make the edits to the 'Text Link 1' in Container 3.

 

function evaluateProperty({
    api,
    helpers
}) {
    if(api.context.props.table == "sc_request"){
        var result = api.data.look_up_records_1.results[0];
        return '/esc?id=ticket&table=sc_req_item&sys_id=' + result.sys_id.displayValue;
    }
    return '/esc?id=ticket&table='+ api.context.props.table + '&sys_id=' + api.context.props.sysId;
}