Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Create URL from email address

Featured Replies

I'm trying to create a URL from a contacts company email address. I'm using this calculation:

Case (

IsEmpty ( URL ) ;"http://www." & Right(eMail_Address;Length(eMail_Address) - Position(eMail_Address;"|@|";Length(eMail_Address);-1));

""

)

Some of the contact records already have a URL entered so I don't want to change that entry if it exists.

My problem is I do not get any data from this calculation. I have set this up as an Auto Enter calculation in the URL field and unchecked Do not replace existing value assuming the IsEmpty ( URL ) statement will skip the record if there is data there.

What am I doing wrong?

  • Author

Ok, so I created a separate calculation field 'c_URL' with the following:

"http://www." & RightWords ( Substitute ( eMail_Address; "@"; " " ); 1 )

Works fine.

So, I tried entering this into my URL field as an auto enter calc:

Case (

IsEmpty ( URL ) ;c_URL;

URL

)

Still nothing in the URL field.

::

I assume that you're creating a new record or modifying the email address so the auto enter actually triggers.

Beyond that, why not select the "do not replace" checkbox and ditch the IsEmpty? That should work.

  • Author

I just created a script and replaced all empty URL fields with the c_URL. Took a few minutes, 17,000 records, but it's done. Not perfect, there's a lot of AOL.com and Hotmail.com's, butwe can deal with that later. Thanks.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.