Load record based on something else?
2 posts by 2 authors in: Forums > CMS Builder
Last Post: August 18, 2009 (RSS)
By zip222 - August 18, 2009
Is there a way to load a record using another field rather the record number?
ie...
I want my urls to look like this...
http://www.domain.com/industry.php?id=automotive
http://www.domain.com/industry.php?id=aviation
http://www.domain.com/industry.php?id=healthcare
etc...
I am trying to avoid having the record number at the end of the URL.
-jason
ie...
I want my urls to look like this...
http://www.domain.com/industry.php?id=automotive
http://www.domain.com/industry.php?id=aviation
http://www.domain.com/industry.php?id=healthcare
etc...
I am trying to avoid having the record number at the end of the URL.
-jason
Re: [jdancisin] Load record based on something else?
By Dave - August 18, 2009
Hi jdancisin,
Absolutely, you can use the built in search features for that. Just put ?fieldname=value at the end. So if you have a field called category with a value of automotive you could use this:
http://www.domain.com/industry.php?category=automotive
Have a look at the search docs for more details:
http://www.interactivetools.com/docs/cmsbuilder/viewer_search.html
Hope that helps!
Absolutely, you can use the built in search features for that. Just put ?fieldname=value at the end. So if you have a field called category with a value of automotive you could use this:
http://www.domain.com/industry.php?category=automotive
Have a look at the search docs for more details:
http://www.interactivetools.com/docs/cmsbuilder/viewer_search.html
Hope that helps!
Dave Edis - Senior Developer
interactivetools.com
interactivetools.com