Captivate 2 - relative paths

I've built several Captivate 2 simulations and have only just discovered that my links to external files aren't relative.
I've created the links using buttons. I've set them to Open URL or file on success. I then browsed to the files I wanted to link to. The files are pdfs and html files that launch other captivate published files.
I saw that an absolute path was being inserted but I hoped (vainly) that it might be converted to a relative path when published as long as I maintained the same folder structure for my source and published files.
Is there any way to set up a relative path in Captivate 2?
Thanks.
Grace D

Hi Grace
Generally speaking, the best way to create and ensure a relative path is to simply type the file name of what it is you are linking to. Never ever use a Browse button to navigate to a file. By manually typing the file name, there is no way for Captivate to know the path. Thus it creates and maintains a relative path.
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks

Similar Messages

  • Links to PDF files with relative paths from a Captivate 4 project

    I'm creating a presentation in Captivate 4 (I'm making an exe file) with some links to PDF files; the links are buttons with the 'open URL or file' set. The presentation will be distributed in CDs and obviously the links will not work for they point to an absolute path in my PC. Is there another way to display external files? thanks

    "file:\file folder\filename" is not a relative path.  It's still an absolute path because you're specifying the path all the way from the root drive, whether you used a drive letter or not.
    A relative path shows where to find the other file in relation to the file that is calling it.
    Relative paths look like this:
    myDoc.doc (if the file is in the same directory as the file calling it)
    folderName/myDoc.doc (if the file is inside a folder in the same directory as the file calling it)
    ../myDoc.doc (if the file is located in the parent directory above the file that is calling it)
    ../../myDoc.doc (if the file is located two levels above the file that is calling it)
    etc
    Here's a tutorial that explains it better: http://www.communitymx.com/content/article.cfm?cid=230ad

  • How to use relative paths in Captivate 8 / Cómo usar URL's relativas en Captivate 8

    Hello, I have developed a bunch of courses which will be migrated to a new site and I am having trouble changing the absolute paths into relative URL's to resources such as PDF files inserted into the scorm packages. I cannot find information on how to use relative paths in Captivate. Please help. Thank you.

    I have the same issue with relative links using Captivate 8.  I am trying to load Captivate modules into an LMS using relative links to document files within the LMS.  The links work fine during a site page test so not an issue in the LMS, but from the Captivate module they aren't working....
    Help?

  • Open Other Project - Relative Path

    I hate to keep asking this question ... but has anyone come up with a workable solution for opening another project in Captivate 4 using a relative path? I see this discussion starting and stopping in various places ... but there never seems to be an answer that works. I can't quite understand why Adobe took this functionality out of this version ... as it has made the product almost useless to me. I need to be able to link from one project to another somehow, and I don't know what the absolute path is going to be when I am creating the training.
    I don't know where else to turn for help on this. Anyone?
    Thanks.
    Marge

    Hi there
    There could be many factors at play here.
    Are you certain Flash Security isn't hindering you?
    Click here for help with adjusting security
    Cheers... Rick
    Click here for Adobe Authorized Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • How to enter a relative path of flv

    We have a project with flv video embedded in one of the slides.  It works perfectly fine when we use absolute path to insert Flash video, e.g. (D:\Videolessons\communication\101.flv).  Now the client wants to deploy it in a media server and asks us to provide a relative path of the Flash video.  We tried something as follows:
    /communication/101.flv
    communication/101.flv
    /Videolessons/communications/101.flv
    Videolessons/communications/101.flv
    We put flv file in the "communication" folder. We then published the CP project to that folder as well.
    Unfortunately the published file doesn't contain the flash video any more.   The first two settings (/communication/101.flv and communication/101.flv) does not give error message, and the last two settings actually prompted the message that the Flash video cannot be loaded.
    What is the correct way of entering the relative path of the FLV file?  Thanks for your help.

    Skylineblue,
    Video is treated differently than other assets Captivate.  The path to the .flv file is NOT a runtime setting... which is really confusing.  The path that is entered for the .flv file should be relative to the SAVED PROJECT.  So, if your Captivate project file is located at D:\Videolessons\MyFile.cp and you have flash video files in D:\Videolessons\communication\101.flv, you could enter a relative reference like: "communication\101.flv"
    When you go to PUBLISH your captivate project, these .flv files will be MOVED to the publishing location.  So if you're publishing to C:\Publish, your .flv files would end up at C:\Publish\communication\101.flv.  FYI... after you publish, your video files will be moved... not copied, which can be a pain if you have to re-publish.
    HTH,
    Jim Leichliter

  • Reference Images in Relative Path

    Captivate 2 allows you to export the background images out
    and then link them in so it is easier to update the images, but the
    paths seem like they have to be absolute only. Is there a way to
    use relative paths instead of the absolute path? I have several
    projects that need to be localized into different languages and
    this is one of the things that is not allowing us to effectively
    use Captivate 2 for the project. Any help would be greatly
    appreciative.

    Hi again Hyp30
    Okay, I have to ask you (and others) for a huge favor here.
    You have hit upon something I strongly feel should be part of the
    next version of Captivate. That typing layer. You are absolutely
    correct that this item cannot be changed. Not only that, but if you
    make a typo, Captivate also records that! Sooo, in my not so humble
    opinion, what would be
    MUCH more useful to us is if the developers created a very
    basic and very simple text animation we could use. Simple typing
    text. Notice all the animations we have. 88 of those puppies I
    think! Why we have fish nibbling characters away, letters flying
    here and there. Yet no simple typing text. If that were available,
    we could forego the typing layer and simply use an animation.
    So, if anyone else feels as strongly about this as I do,
    please submit a request by
    clicking
    here. I suggest this because until the development team hears
    from enough folks, it's not likely to happen.
    Now, for a suggestion. I'm not sure I'd simply reuse the same
    movie for different localizations. If it were me, I'd maybe have a
    project folder where the projects are stored. Then a folder for
    each main project. Then I'd click File > Save As and have
    multiple flavors of each project so I could keep the localizations
    separated.
    Cheers... Rick

  • Link to files via relative path?

    It seems that Captivate is only capable of linking to
    external files via absolute links. In other words, when I create a
    click box that opens a file and select a file located on my
    development machine, the project will still look for that file on
    my local hard drive, even after it is posted on the Web. This is
    extremely frustrating, and I have not found a workaround.
    Please help me identify a way to link using a relative path.
    In other words, the project will resolve it's current location and
    look for content in the directory it is located in or in specified
    directories under that location. That is is the only way you can
    create a project that will run correctly when posted. Captivate
    already does this when you create a click box that opens another
    project, so there MUST be a way to do this when opening non-project
    files!
    Please Help!
    Thanks,
    Dan Roberts

    Hi Dan,
    Are you publishing the file as a standalone executable? If
    so, others have experienced problems and have reported this as a
    bug... a link to a recent post.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=464&threadid=1247575
    I have had no problems using standard conventions for
    relative links in published swfs. For instance - assume I have a
    course with lessons separated in 8 different folders. I have
    resources in a common folder that is in the same folder as all of
    the lessons. To get one of my swfs to link to a resource in the
    common folder, I would set the URL to something like
    "../common/managing_workflows_job_aid.pdf" - this causes the
    browser to look up one folder level, then to common, then to the
    specified file.
    Does that answer your question?

  • Setting up a relative path in the "open file" dialog window

    Hello there,
    I want to open a PDF file through a clickbox out of
    Captivate. The path I have to put in there has to be absolute, I
    guess.
    Is there any possibility to put a relative path in there?
    To get you a clue, what I want to do with that, here is my
    intention:
    I want to build up a splash screen for a Auto-Run-CD, where I
    want to link some reference documents.
    Thanks in advance for your suggestions,
    Markus

    Hi Markus
    Normally all you have to do is just type the file name of the
    file. Then ensure the Captivate output and the file you are linking
    to are in the same folder. If you don't like that approach, I
    believe Captivate will accept another relative path that is set up
    perhaps like this:
    Root level of CD
    Documents folder
    So the link would look as follows: Documents/SomeFile.PDF
    Cheers... Rick

  • Css/js relative path for embedded server

    We have recently begun using relative paths for css and js files in our deployed applications:
    <link href="../../resources/css/global3.css" rel="stylesheet" type="text/css" />
    <script language="JavaScript" src="../../resources/script/globalScript.js" type="text/JavaScript"></script>
    I cannot figure out where to put the resources folder on my local machine so the pages will link correctly when running a project on my embedded server in JDev. Can anyone please help?

    Hi,
    the embedded OC4J has its configuration files at
    \jdeveloper_installdir\jdev\system\oracle.j2ee.<version>\embedded-oc4j
    However, if you use relative addressing then web applications try to find them relative to the public_html directory of the Viewlayer project
    Frank

  • Get the relative path for java class

    How to get Relative path for java class which is inside in web-inf directory in webapps

    ajay.manchu wrote:
    Hi gimbal2,
    My Requirement is i need to run a java class from batch file,when i created batch file in that i need to mention the complete path of the java class,so instead of mentioning that i want to provide only java class name,thats why i asked that one..
    can u help me regarding that....
    Thanks in advanceI wonder how that would work then. Let's take a fictive example. You have a class com.mycompany.myapp.Foo. This would mean that the class is stored in some directory like this:
    c:/webrootdir/myapp/WEB-INF/classes/com/mycompany/myapp/Foo.classTo be able to run such a class from the commandline using Java, you would have to invoke this command:
    java -cp c:/webrootdir/myapp/WEB-INF/classes com.mycompany.myapp.FooHow would knowing the exact path to this class help you?

  • Use Relative Path for Photoshop Action?

    I have a Photoshop Action that is programmed to open an existing file located in a specific directory.  The path to this directory is an absolute path, i.e.:
    C:\Program Files\Photoshop Actions\filename.jpg
    As long as the Action can find the file in the specified absolute path, everything works fine.
    My problem is that if someone tries to run this Action on a different computer (like a Mac), the path specified in the action does not exist and the Action will not work.
    The simple solution to this would be to make the action open the file located at a relative path.  This way no matter what computer the action is run on, it will always be able to find the file.
    Unfortunately, I don't think Photoshop Actions allow relative paths.  Does anyone know if using a relative path in an action is possible?
    Failing this, how would I use a Photoshop Script to somehow direct the Action to find the correct location of the file?  Or is there a better solution?

    The idea that I use in the xtools installer and else where is this:
    1) Convert the action file to XML.
    2) Package the XML file and the apps/ActionFileFromXML script with your stuff.
    3) An installer script will do a 'replace' (or whatever) on the XML file so that the paths are converted to whatever is needed.
    4) The new XML is saved and then converted to a .atn file which is then loaded.
    There is an xtools forum at ps-scripts.com that may have some info in addition to the PDF file that comes with the package.
    -X

  • How to specify relative path for background image  in xsl

    Hi,
    I am generating a PDF from Apcahe FOP. I have an xsl for that, in the xsl fo:block I am displaying a background image. When the image path is absolute like..C:\image\logo.png it works fine. But I want to have the image in my WebContent\images folder and my xsl file is in WebContent\xsls folder. So when I try giving the relative path as ../images/logo.png, the image is not displayed.
    Can anyone tell how to do this???
    Thanks,
    Sanjeev.

    I have a fo:block like this :
    <fo:block border-style="solid" border-width="0.2pt" text-align="left"
                             background-image="url('http://localhost:8080/Project/images/table_header_center.png')"
                             font-size="8pt" font-weight="bold" color="white" padding-top="1pt"
                             padding-bottom="1pt">
                             <xsl:value-of select="tr/td/span" />
                        </fo:block>In the above code you can see that the the background-image="url('http://localhost:8080/Project/images/table_header_center.png')"
    has been given as absolute. The images folder is in my WebContent directory. I want this path to be relative to the context of my application , something like background-image="url('../images/table_header_center.png')".
    Thanks.
    sanjeev.

  • Using relative path for in file/ftp adapter

    Hi All,
    How to have a relative path for file/ ftp adapter's inbound/outbound operation?
    Example: Consider $ORA_HOME = /home/oracle --> This environment variable can be different on different machines
    i want to drop a file in to $ORA_HOME/folder1/folder2 (Or poll for a file).
    <partnerLinkBinding name="FTP">
    <property name="wsdlLocation">FTP.wsdl</property>
    <property name="out_dir" type="LogicalDirectory">What do i write here???</property>
    <property name="retryInterval">60</property>
    </partnerLinkBinding>
    if i cant configure this in partner link section or in activation agent sction, how else do i achieve this?
    i am using 10.1.3.* version.
    Thanks in advance.
    Roshan.

    You can achive it using the deployment scripts if the directory is changing on the basis of the environment
    If you want to change at run time than you can use the jca properties to set using the variables at runtime.
    Regards,
    Ajay

  • Relative path to file in servlet class file

    Hello,
    I have several classes running as a Tomcat Servlet on my server. However, I have one class that I would like to access a file on the server.
    The problem is, what path do I use? I want to use a relative path as the servlet might be moved and I don't want to recompile each time the servlet is moved. For instance, I placed the file in the servlet directory under webapps in the same level with the WEB-INF directory. However, using "../../text.txt" does not seem to access it.
    What path should I use?
    Thanks in advance.
    Chris

    This is what I have done:
         String FS = System.getProperty("file.separator");
         String ctx = getServletContext( ).getRealPath( "" ) + FS;
         URL url = new URL("file", "", ctx +   "somefile.txt");
         //Create a BufferedReader for reading the inputstream.
         BufferedReader br = new BufferedReader(new InputStreamReader(url.openStream()));This gets you back to the "root", or one level above WEB-INF. Add the folder name where the file is located. As in      URL url = new URL("file", "", ctx +   "theFolder/somefile.txt");HTH,
    WalkGood

  • Relative paths for images upset by forwarding requests

    Hello World.
              I am using a web app deployed in Weblogic 5.1 with service pack 8.
              I have hit a problem which puzzles me. When I forward a request from
              one JSP to another (say from A to B) the web server seems to take the
              URLs of the images on the served file (B) relative to the path on the
              calling file (A). Here's a detailed explanation...
              Suppose I have a the web app structured as follow
              /oddApp/launch/A.jsp
              /oddApp/B.jsp
              /oddApp/images/tick.gif
              Page A simply stores its request URI and forwards its request to page B
              <jsp:forward page="/B.jsp" />
              Page B displays its requestURI, contextPath and servletPath. It also
              attempts
              to show three images
              <img src="images/tick.gif">
              <img src="../images/tick.gif">
              <img src="/images/tick.gif">
              When I invoke page B directly, the first image is shown, the others are not.
              When I invoke page A, it forwards to B and the second image is shown, the
              others are not.
              In each case the URI, contextPath and servletPath are correctly displayed
              with regard to page B.
              URI = [oddApp/B.jsp]
              contextPath = [oddApp]
              servletPath = [B.jsp]
              The URI in A.jsp is also correct (i.e. /oddApp/launch/A.jsp).
              The search for the images seems to be relative to the original URI (i.e. not
              the URI used to forward), which strikes me as daft. It means that page B
              must be aware of where it is being called from. It is perfectly plausible
              that
              relative paths which suit when called from one location are incorrect when
              called from another.
              I had thought that including the leadling slash (as shown as the third
              image)
              would cause the search relative to the document root (/oddApp/), but this
              appears not to be the case. The search is done relative to the root of the
              server not the web app.
              Adding jsp mappings in the deployment descriptor of the web app does not
              help (I had thought it a long shot anyway).
              Does anyone have any thoughts on this?
              PHiL
              

    i face the same problem (WinNT, WLS6.0): my wep app has a contextRoot " root " which makes it react to the URL: http://host:port/root /: it is this folder which will be used as a basis by the Web server But in the jps I use a relative URL for images: / images/toto.gif : it works very well when I deploy my jsp out of a Web-app by setting a document.root to the weblogic web server.On the other hand, once deployed in a Web-app, images are not found because the default path of the browser is http://host:port, without the context root of the Web-app! In other words, my war has images/*.gif in its root but when /images/toto.gif is resolved in a jsp, as the relative URL is not prefixed by my context-root, the image is not search in the war! actually, if I type http://host:port/root/toto.gif, my image appearsany clues? an alias on the web server? a setting in web.xml/application.xml and their weblogic equivalent files?
              

Maybe you are looking for