Get a link to look in a certain folder ??

I have a DB that the search engine will look through for
business names, type and where they are located, but when the
results come back is it possible to have the link for that company
link only to the folder for that company? So that way they only get
the information from that folder?
Don't know if that make sense to you, but hope it does.
Thanks in advance

K0rrupt wrote:
> Could you show me an example? Pretty new to cf.
> I was thinking of having the link go to a process page
and thought of this
> code, but it doesn't work. Am i going into the write
direction or is it all
> wrong? I was thinking of having the link add the company
name, province and
> city they are in and have the process page determine
which folder is the
> correct one according to the URL params.
>
> <cfif IsDefined("URL.Province")>
> <cfset ThisPath = ExpandPath("menu")>
> <cfset ThisDirectory =
GetDirectoryFromPath(ThisPath)>
>
> <cfif URL.Province EQ ThisDirectory>
> <cflocation url="#ThisDirectory#" />
> </cfif>
> <cfelse>
> <cflocation url="../index.cfm" />
> <cfabort>
> </cfif>
>
Ok, that looks rather complex, but I am not sure what your
goal is here?
Are you building links or doing some type of redirect for
some reason?

Similar Messages

  • C# how can i get my program to look for reg install path once found copyfiles

    basically what im looking to do is make a installer for a program but its happens when you hit a button like install
    maya it will look for where the program is installed via
    reg path once found i want it to copy a few files to another directory
    also my old vision of my program i had a installer that would install a folder where all the stuff for maya install would be witch i usually put in the following directory
    C:\Program Files (x86)\maya 8.5 installer
    and i did all my file copys around that like filemove then that dir
    but had a lot of issues where people put it in different dir witch made my program
    useless is there also a way where you can get the program to look for a certain folder in a certain place sorry to be a pain and ask a couple of questions but want to resolve this issue

    Hi elfenliedtopfan5,
    This forum is to discuss problems of C# development. Your question is not related to the topic of this forum.
    Discuss and ask questions about the C# programming language, IDE, libraries, samples, and tools.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to I get a link with a "Mail to" address to open up a Compose window in my Yahoo mail, rather than in the Mail progrom on my Mac. I do not use the Mac Mail program.

    How to I get a link with a "Mail to" address to open up a Compose window in my Yahoo mail, rather than in the Mail progrom on my Mac. I do not use the Mac Mail program.
    == This happened ==
    Not sure how often
    == always

    Thank you, "the-edmeister" -- You render a great service, one that lifts my spirits.
    Your answer also taught me to be a little more persistent, as I had started looking at Preferences, and just didn't notice the icons (including Applications) at the top of that window that would have led me to my answer.
    Dave

  • I am having a problem with pop pups and small windows with ads constantly opening up on my safari?? Thought that macs didn't get virus? this looks like one- any experts around? please help me fix it with your instructions? really don't know what to do...

    Hi everyone,
    I am having a problem with my Mac OS X 10.7.5 mac book air , there are constant pop pups and small windows with ads blinking constantly opening up on my safari in front of everything?? it is constantly interupting me and makes me mistakingly click on it then another new windows open behind the one im using..
    I am not too sure if thats a virus or trojan.. I always thought that macs didn't get virus? this looks like one to me… any experts around? please help me fix it with your instructions? really don't know what to do... thanks

    Those are not viruses. You have probably installed some malware:
    The Safe Mac » Adware Removal Guide
    Helpful Links Regarding Malware Protection
    An excellent link to read is Tom Reed's Mac Malware Guide.
    Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
    See these Apple articles:
              Mac OS X Snow Leopard and malware detection
              OS X Lion- Protect your Mac from malware
              OS X Mountain Lion- Protect your Mac from malware
              About file quarantine in OS X
    If you require anti-virus protection Thomas Reed recommends using Dr.Web Light from the App Store. It's free, and since it's from the App Store, it won't destabilize the system. If you prefer one of the better known commercial products, then Thomas recommends using Sophos.(Thank you to Thomas Reed for these recommendations.) If you already use Sophos, then be aware of this if you are using Mavericks: OS X Mavericks- Sophos Anti-Virus on-access scanner versions 8.0 - 9.1 may cause unexpected restarts
    From user Joe Bailey comes this equally useful advice:
    The facts are:
    1. There is no anti-malware software that can detect 100% of the malware out there.
    2. There is no anti-malware that can detect anything targeting the Mac because there
         is no Mac malware in the wild, and therefore, no "signatures" to detect.
    3. The very best way to prevent the most attacks is for you as the user to be aware that
         the most successful malware attacks rely on very sophisticated social engineering
         techniques preying on human avarice, ****, and fear.
    4. Internet popups saying the FBI, NSA, Microsoft, your ISP has detected malware on
        your computer is intended to entice you to install their malware thinking it is a
        protection against malware.
    5. Some of the anti-malware products on the market are worse than the malware
        from which they purport to protect you.
    6. Be cautious where you go on the internet.
    7. Only download anything from sites you know are safe.
    8. Avoid links you receive in email, always be suspicious even if you get something
        you think is from a friend, but you were not expecting.
    9. If there is any question in your mind, then assume it is malware.

  • Attempting to upgarde itunes and I get an error message looking for "an alternate path to a folder containing 'iTunes.msi' location.  I've searched my hard drive and the file doesn't exist.  What to do?

    Attempting to upgarde itunes and I get an error message looking for "an alternate path to a folder containing 'iTunes.msi' location.  I've searched my hard drive and the file doesn't exist.  What to do?

    This worked...found on a prior discussion:
    Download the Windows Installer CleanUp utility from the following page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page)...
    http://majorgeeks.com/download.php?det=4459
    From the link above (near the top of the page)....Under 'download locations'   click on 'download@majorgeeks'
    To install the utility, doubleclick the msicuu2.exe file you just downloaded and ran.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    Restart your computer.
    Re-download Itunes (latest version form Itunes website) and install.  It worked!

  • How can i force the source link to look in current folder? Using dropbox as source location

    My data source is an Excel file located on a dropbox folder which is shared between team members. 
    The report file is also located in the same dropbox folder. 
    My problem is that when other people refreshed the data source they get an error saying that the data source is located on MY local machine even though they have it in their dropbox folder as well. 
    Is it possible to build the link to the data source in a way that forces powerpivot to look in its current folder..? 
    If i just write the file name and refreshes it seems to work, but when reopening the file the url has changed to this and only works on my computer.
    C:\Users\Myname\Dropbox\01 Company\Reports\Report Source Data.xlsx

    Fenixxen,
    Is this still an issue?
    Thanks!
    Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • How to get the link when right-clicked (for extension development)?

    Hi,
    I want to get the link when I right-click it in a page.
    I explain: when you right-click a link, you get "Open link in a new window"; this menuitem sends the link to the js function to perform an action and that's exactly what I an looking for
    Thank you

    Hi,
    If you have than one table with add_row_button then this code will work fine
    if (tableBean.getName().equals(pageContext.getParameter(SOURCE_PARAM)))
    && ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM)))
    tableBean is Handle for your advanced table, hope it will help.
    Regards,
    Reetesh Sharma

  • HT2188 I'm presuming my old iPod id dead meat, but after 24 charging a get the Apple Logo followed by an image that looks like a file folder with an exclamation point. Is there anyway we can resurrect all trhe music on it & transfer into a new iPod?

    I'm presuming my old iPod id dead meat, but after 24 charging a get the Apple Logo followed by an image that looks like a file folder with an exclamation point. Is there anyway we can resurrect all trhe music on it & transfer into a new iPod?

    You can try putting it into Disk Mode
    http://support.apple.com/kb/HT1363
    If that works, you can see if the computer will recognize it when connected, either in iTunes or by the system.
    NOTE:  You can also try putting it into Disk Mode WHILE it is already connected to the computer.
    If the iPod is recognized, you may be able to use one of the third-party methods or utilities to transfer song files from iPod to computer.  You can do a Google search on something like "ipod transfer" to get some links (add "mac" to the search if your computer is a Mac).
    Once the song files are on your computer, add them to that computer's iTunes library, then sync it to the new iPod.

  • Where can I get a list of available selection for certain dict type?

    Where can I get a list of available selection for certain dict type in code?  For instance, when I use SE16 to view VBFA table, I am presented with many filter criteria.  One of them would be "VBTYP_N".  When I click on the square next to the option, I am presented with a list of possible values to select from.  Where can I get the list of this possible values for any given dict type in code?

    Hi Frank,
    The list of possible selection you see can be from diferent sources
    1) Search helps defined either programatically or search helps defined at table level.
    If it is a Z Selection screen check the program, then the data declaration of the parameter
    2)Check tables provided at field level. They can be through use of foreign keys. The proposal generated could be simple compund ..
    3) Fixed values at Domain level ()
    Please refer to this link as well for detailed explanation
    [http://help.sap.com/saphelp_470/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/content.htm]

  • Get metadata link disabled

    Hello Everyone,
    I am trying to setup local IdP in my Eclipse. I am following documentation from this link here - SAP HANA Cloud Platform
    The problem is, as mentioned in the Point 2 in the documentation, I tried configuring a custom Local trust provider. I was able to generate key pair as well. But the "Get metadata" link is disabled. I thought I might need to save the configuration first to get this link enabled but nothing is happening when I try to save. Looks like Save button is also not saving the configuration. Am I missing anything here? Following the snapshot.
    Note: I tried doing same thing from my colleague's account. There is nothing deployed to his accout and it completely new accout. I was able to download meta data file from his account, but mine isn't working! This looks strange to me.
    What should I do to get this link working? is it disabled because I am on trial version?
    Best Regards,
    Ameya

    Hi Ameya,
    Please post this question under SAP HANA Cloud Platform Developer Center where the HANA Cloud Platform experts can support you.
    Regards,
    Ifat.

  • How do I get a link within a PDF to open a new tab in a web browser?

    How do I get a link within a PDF to open a new tab in a web browser? Previous forums (for earlier versions of InDesign and Acrobat) mention something about JavaScript, but I'm using InDesign CC and Adobe Acrobat Pro CC
    Thanks.

    When you're looking at the PDF that's on your site, is it opened in the browser or directly i Acrobat/Reader? If in the borwser, do you know if it's being viewed in the browser's default PDF viewer or Acrobat/Reader? It probably won't work in non-Adobe PDF viewers.
    Are you saying that when you click the link that two new browser tabs are opened with the same URL, instead of just one as you'd expect, or something else?

  • Can i tell adobe bridge to look only in certain folders?

    I don't want or need Adobe Bridge looking through my entire computer for stills. Is there a way to tell Bridge CC to look only in certain folders.
    Let's say that I have a folder called "stills" that is part of a documentary film media folder. I just want Adobe Bridge looking for stills in that one folder and nowhere else. Is it possible to get Bridge searching only in that folder?

    Yes, first navigate to the desired folder. Then add this folder as a favorite
    This are my favorites:
    Then you simply click one of your favorites and Bridge will only show its content

  • I can not get the link to chang my password

    i forgot my password to my firefox sync and i did the reset telling it was going to send me a link to my email to change it, but i get no link sent to my email. help

    You can find the sync password and the sync key in the password manager on the computer where you originally created that sync account.
    Look for:
    * chrome://weave (Mozilla Services Password)
    * chrome://weave (Mozilla Services Encryption Passphrase)
    Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"

  • How do you get a link to open a flash flv video?

    I'm trying to get a link to launch a flash flv video. I need
    it to open only about as large as the video itself which is
    320/240(a little larger is no big deal. I don't want to have to
    embed it into a 1040pix wide page. When I link it, the video is
    blown up to 1040pix wide & just a little distorted!
    Is this possible/easy to do?thanx
    steve

    Go here -
    http://www.neapco.com/n_why-neapco.php,
    and look at the link to the video in
    the left-hand sidebar. Does that code help you?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "matroxman" <[email protected]> wrote in
    message
    news:eb0qh1$6p0$[email protected]..
    > I'm trying to get a link to launch a flash flv video. I
    need it to open
    > only
    > about as large as the video itself which is 320/240(a
    little larger is no
    > big
    > deal. I don't want to have to embed it into a 1040pix
    wide page. When I
    > link
    > it, the video is blown up to 1040pix wide & just a
    little distorted!
    >
    > Is this possible/easy to do?thanx
    > steve
    >

  • How can I get my layout to look the same across multiple browswers?

    Hello forums!  How are you guys?
    I use Dreamweaver to edit my layout for my site.  However it looks fragmented on certain browsers and perfect on others. 
    www.ifuxkswiththat.com is the site.
    Is there something that can keep this uniform amongst other browsers?
    Check it on yours...it might work for you and it might not

    Your best bet is to get it right in something like Firefox or Safari, and then use some conditional CSS to tweak it in IE browsers.
    So put things like this in your header :
    <!--[if IE 5]>
    <style type="text/css">
    /* IE 5 does not use the standard box model, so the column widths are overidden to render the page correctly. */
    #outerWrapper #contentWrapper #leftColumn1 {
      width: 16em;
    #outerWrapper #contentWrapper #rightColumn1 {
      width: 16em;
    </style>
    <![endif]-->
    You can specify the particular IE browser above or use, for example <!--[if lte IE 7]> for IE 7 and below, or <!--[if lt IE 7]> for IE 6 and below.

Maybe you are looking for

  • Error while migrating from ms access 2003 db to oracle 10g in sqldeveloper

    Hello, i am working on migration project from MS access 2003 to Oracle 10g on windows XP sp2 plateform using SQL developer. it went quit smoothly till the "capture microsoft access" .so in this step the sql developer opens the access db in background

  • Does an external hard drive need to be "mac compatible"?

    The reason I'm asking is because I am planning to transfer a lot of information to an older external drive (which I'm not sure is made to be used with a MAC and that I've used with a PC its entire life) and am planning on re-formatting it. However, I

  • Problems with Reinstalling Itunes 9

    Hi folks. I cant find any help in the FAQs and support section of the sight so I thought I would have to post here for help. I have Itunes on my computer, latest version (i think). I recently had to "roll back" my Windows because of a problem it was

  • Problem uninstalling CS4 after installing CS5 - help!

    I installed CS5 without a hitch. I then tried to uninstall CS4. I opened Photoshop and chose Help/Deactivate, taking care to tick the serial number box too. After the uninstall procedure, I got an message that it had completed but with errors. In Con

  • Clean Up / Clean Up Selection

    Hi. What does (mean) the option "Clean Up" or "Clean Up Selection" in the Finder's View Menu? Thank you!