tag:blogger.com,1999:blog-12214002.post3768634094358625857..comments2024-03-09T06:56:57.099-05:00Comments on Let's Wreck This Together...with Oracle Application Express!: How do I share a URL to my APEX application?Joel R. Kallmanhttp://www.blogger.com/profile/01915290758512999160noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-12214002.post-45363074193463603622017-08-18T15:39:25.146-04:002017-08-18T15:39:25.146-04:00Another problem we get with the URL:
4) When the d...Another problem we get with the URL:<br />4) When the developer export the app in an workspace and import in another, Apex keeps the alias and we have duplicated alias and unavailable applicationsAnderson Ferreirahttps://www.blogger.com/profile/10919910774989715630noreply@blogger.comtag:blogger.com,1999:blog-12214002.post-33738557873628663672017-08-18T12:25:01.670-04:002017-08-18T12:25:01.670-04:00That's why I've been using an Apache (or a...That's why I've been using an Apache (or any other web server) for a while. Like Morten Braten said, <b>http://server/myapp</b> is much easier to remember and type than <b>anything f?p=...</b>.<br /><br />And what Anderson Ferreira said is also true: the user will certainly bookmark the app_id instead of the app_alias because the URL will be converted on the first access.<br /><br />CheersTrevishttps://www.blogger.com/profile/08577406346875658139noreply@blogger.comtag:blogger.com,1999:blog-12214002.post-75991692487989119852017-08-18T11:01:20.777-04:002017-08-18T11:01:20.777-04:00We use alias and we experience a lot of issues:
1)...We use alias and we experience a lot of issues:<br />1) Sometimes the developers set the same alias for different applications and both applications get unavailable.<br />2) When user access the url, Apex converts "f?p=app_alias" to "f?p=app_id". The user bookmarks the URL with the app_id. We change the version of the application, changing the app_id and keeping the app_alias. The user starts to access the bookmarked old version of application.<br />3) Sometimes we make old versions Unavailable and redirect to "f?p=app_alias". Some clients put urls in user tutorials like "f?p=123:12:12345678::::P12_EMP_ID:123" (we can't blame them) and when the Apex redirects, it loses the parameters.<br /><br />Joel, please priorize the URL problems!Anderson Ferreirahttps://www.blogger.com/profile/10919910774989715630noreply@blogger.comtag:blogger.com,1999:blog-12214002.post-82597077986503766942017-08-17T22:18:21.841-04:002017-08-17T22:18:21.841-04:00It really doesn't matter at all, most users do...It really doesn't matter at all, most users don't care, it's all Greek... So to speak, they simply look for the hyperlink, and 9/10 create their own shortcut in the browser. ... whole address discussion is a moot point.<br />Anonymoushttps://www.blogger.com/profile/12733568588024419332noreply@blogger.comtag:blogger.com,1999:blog-12214002.post-12177129325162999152017-08-17T21:57:22.476-04:002017-08-17T21:57:22.476-04:00Hi Jeff,
Agreed, and excellent points. The alias...Hi Jeff,<br /><br />Agreed, and excellent points. The alias is very much a "soft" reference and not tied to an application ID. Thanks for mentioning this.<br /><br />JoelJoel R. Kallmanhttps://www.blogger.com/profile/01915290758512999160noreply@blogger.comtag:blogger.com,1999:blog-12214002.post-37916997595309989552017-08-17T19:43:19.099-04:002017-08-17T19:43:19.099-04:00More important than aesthetics is that the URL is ...More important than aesthetics is that the URL is less likely to go out of date; I'm not intending to change my workspace; and the alias means I am not dependent on keeping the same application ID.Jeffrey Kemphttps://www.blogger.com/profile/04255101699328756710noreply@blogger.comtag:blogger.com,1999:blog-12214002.post-16760543588681539202017-08-17T16:50:02.410-04:002017-08-17T16:50:02.410-04:00It is nice article. btw we can use mod_rewrite or ...It is nice article. btw we can use mod_rewrite or urlfilter lib for makibg friendly url. It will boost seo alsoAnonymoushttps://www.blogger.com/profile/11080022366805536817noreply@blogger.comtag:blogger.com,1999:blog-12214002.post-29990831648053771762017-08-17T12:34:57.195-04:002017-08-17T12:34:57.195-04:00+1 for Morten's reply. We put friendly URLs in...+1 for Morten's reply. We put friendly URLs into our load balancer, that redirect to the proper URL. Much easier for people to remember.<br /><br />Cheers<br /><br />Tim...Tim...https://www.blogger.com/profile/17721555946005999179noreply@blogger.comtag:blogger.com,1999:blog-12214002.post-28906270486639741302017-08-17T11:41:53.210-04:002017-08-17T11:41:53.210-04:00This is web server specific, but if using Apache y...This is web server specific, but if using Apache you could also make the starting URL friendlier by adding a redirect in the httpd.conf file (or better, in a separate apex.conf file).<br /><br />If you add the following<br /><br />RedirectMatch ^/myapp/$ /ords/f?p=123<br /><br />then users will be able to go to the app just by entering:<br /><br />http://server/myapp<br /><br />- MortenMorten Bratenhttps://www.blogger.com/profile/12300886042835631690noreply@blogger.comtag:blogger.com,1999:blog-12214002.post-1256674986801979232017-08-17T10:05:05.574-04:002017-08-17T10:05:05.574-04:00Jeff,
Right. Thanks. And now we're back to ...Jeff,<br /><br />Right. Thanks. And now we're back to a complex looking URL.<br /><br />JoelJoel R. Kallmanhttps://www.blogger.com/profile/01915290758512999160noreply@blogger.comtag:blogger.com,1999:blog-12214002.post-45517053770824141412017-08-17T10:01:53.915-04:002017-08-17T10:01:53.915-04:00Just need to specify the workspace, like this: htt...Just need to specify the workspace, like this: https://apex.oracle.com/pls/apex/f?p=ZXCVBN&c=JK64Jeffrey Kemphttps://www.blogger.com/profile/04255101699328756710noreply@blogger.comtag:blogger.com,1999:blog-12214002.post-8438647204614152912017-08-17T09:32:48.895-04:002017-08-17T09:32:48.895-04:00Hi Dimitri - thanks. I thought about including th...Hi Dimitri - thanks. I thought about including that. And for most cases, that should work fine. However, there is a fatal flaw with the alias implementation in APEX. If you're using a multitenant environment, someone else in a different workspace and use the same alias for their application, and now your URL with the alias no longer works (because it's not unique).<br /><br />It's one of those things that is always on the list to fix, but then something else usually takes higher priority.<br /><br />JoelJoel R. Kallmanhttps://www.blogger.com/profile/01915290758512999160noreply@blogger.comtag:blogger.com,1999:blog-12214002.post-60522597275464186612017-08-17T09:29:30.245-04:002017-08-17T09:29:30.245-04:00Great post Joel - I'm sure it will help many p...Great post Joel - I'm sure it will help many people.<br /><br />Maybe an addition, if they specified an alias for their app, they could even share the app with the alias instead of the app id.<br />e.g. https://server/ords/f?p=GLOBAL_TAX_SURVEY<br />Dimitri Gielishttps://www.blogger.com/profile/16295721159626839167noreply@blogger.com