Jump to content
  • 0

Use a parameter in a forumala field to created unique URL for profile page


Corpcatalog

Question

I want to create a unique profile page for each of my users 

Like

https://www.certlink.org/grower-profile.html?GrowerNumber=VOCI168

I created a forumale field to add the URL to the GrowerNumber field "VOCI168" 

 

My forumla looks like 

Formula:Edit
'https://www.certlink.org/grower-profile.html?GrowerNumber=[@InsertRecordGrowerNumber]'
 
This comes back as invalid formula, what am I doing wrong.
 
 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Corpcatalog,

I am assuming that the GrowerNumber field is numeric. If so, you cannot intermix a text value and numeric value without first casting the numeric value as varchar. Casting as varchar converts the numeric value to text so that you do not receive invalid formula message.

This revised formula should work:

'https://www.certlink.org/grower-profile.html?GrowerNumber=' + Cast([@field:InsertRecordGrowerNumber] as varchar)

If your field is not numeric, you do not need to cast as varchar. Also make sure to place ' + at the correct position right after the equals sign.

'https://www.certlink.org/grower-profile.html?GrowerNumber=' + [@field:InsertRecordGrowerNumber]

You can find a list of functions for use in formulas here: https://howto.caspio.com/function-reference/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...