Custom URL Fields Not Working

Hey,

I am new to SuiteCRM and currently have 8.8 installed, apologies if I am doing something completely wrong here, all of this is new to me.

In my accounts module, I have created two custom fields for Company Number (textfield) and a URL to https://find-and-update.company-information.service.gov.uk/company/.

In the URL field, I have entered the following:

From what I can tell, the URL generated should now add the company number onto the end of the URL.

However, when I create a new account with a company number, it provides me with the link:
https://find-and-update.company-information.service.gov.uk/company/{companynumber_c}

It does not put the actual company number on the end and instead just keeps {companynumber_c}.

Any ideas on how to solve this, ideally in the least technical way possible, as I said, all of this is brand new to me!

Many thanks!

Connor.

Yes it looks URL fields with Generate Option do not work in Suite8. I am not sure about this. But the workaround for this can be found by using workflows. Please check if these steps help.

  1. Uncheck ‘Generate URL’ from the field definitions as shown
    image

  2. Go to Admin → Developer Tools → Workflow Manager
    image

  3. Create a new workflow with the following steps

  1. Test

In Action details, we can set the default URL value in the formula appended by the {P0} parameter like ‘https://website/{P0}’ to change the URL if the company code is updated. We also need to make changes in the configuration of the workflow details like Run = Always and Run On = All Records.

1 Like

Amazing, that worked; thank you very much!