Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7964 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Just new to this forum and hoping someone can help me. I am setting up an online store but would like to have some data displayed differently for different regions

My idea is to set up a number of addresses such as region1.company.com, region2.company.com etc but have them all point to the same database.

I would like to capture the address the user is selecting and then display data with an if statement. e.g. if the site region1.company.com. is being used, display data from field1

Is there a way I can capture the URL.

Hope the question makes sense

Posted

Richard,

What version of Filemaker are you using? the reason that I ask is that you may be able to have the user input the url information in an opening screen and then carry the value as a token. Then do your if/else statement depending on the token value. The problem is...Filemaker 4.1 only gave you the ability to have one token. Version 5.5 gave you the version to carry multiple tokens....5 I believe. You may want to visit the posts on this page that deals with Tokens. Not real sure if this is the cleanest way to solve your problem. Hope this helps.

Regards

Posted

You can use something like this:

[FMP-If:ClientAddress .eq. region1.company.com][FMP-Field:field1][/FMP-If]

[FMP-If:ClientAddress .eq. region2.company.com][FMP-Field:field2][/FMP-If]

[FMP-If:ClientAddress .eq. region3.company.com][FMP-Field:field3][/FMP-If]

All the best.

Garry

This topic is 7964 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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