FM8 create the relative path

Here is the read write rule I use:

' Widget '.
{
is the graphic element of fm;
attribute "entity" drop;
'boardno' attribute is the property of fm file;

}

It is the output:

< chart
boardno = "file:///H:/My%20Documents/IMS/IMS%20CURRENT%20DEVELOPMENT/Frame%20Docs/graphics/ims_system .jpg" > < / graphic designer>

The output I want is

< graphic boardno = "graphics/ims_system.jpg" > < / graphic designer>

Any Suggestions?

It is a matter of rule of read/write, nor a matter of book/document.

FM uses a path relative to a chart when the XML document is being registered the same drive as the graph. It uses an absolute path if not.

Tags: Adobe FrameMaker

Similar Questions

  • create tablespace with giving the relative path

    Can I create tablespace with the help of relative to the parameter "DATA file" path?

    I get error ORA: 01119 when I run with the relative path in the code example:
    CREATE TABLESPACE "INDX" 
    BLOCKSIZE 8192 
    DATAFILE  '\myrelativeFolder\indx01.dbf' 
    SIZE 2604M       
    AUTOEXTEND ON NEXT 10485760  MAXSIZE 32767M EXTENT MANAGEMENT LOCAL  AUTOALLOCATE  ONLINE PERMANENT;
    Version: Oracle 10g, PlSql Developer.

    --

    Maybe add environment variable operating system to the value of the DATA file somehow? I don't want to create the tablespace with full path, from the name of the drive and ending with file name.

    Edited by: CharlesRoos the 14.10.2010 18:16

    On Unix, use the korn shell, you could try something like this:

    #!/bin/ksh
    
    REL_PATH="\myrelativeFolder\indx01.dbf"
    
    sqlplus $ORA_USER/$ORA_PSWD@$ORACLE_SID << EOF > $LOGFILE
    declare
      v_Path varchar2(50) := '${REL_PATH}';
    
    begin
      execute immediate 'CREATE TABLESPACE "INDX" BLOCKSIZE 8192 DATAFILE ' || v_Path || ' SIZE 2604M
                         AUTOEXTEND ON NEXT 10485760  MAXSIZE 32767M EXTENT MANAGEMENT LOCAL
                         AUTOALLOCATE  ONLINE PERMANENT';
    
    end;
    /
    exit;
    EOF
    exit 0
    
  • Is CFFILE read uses only the absolute path or the relative path too?

    I use cffile read access to my file to json. I would like to know if the cffile uses only absolute or relative path too? If I tried to use the relative path, it kept send me errors on non-existent file.

    Read what I posted on the documentation. CFFILE read must be an absolute path. If you use a path relative to its parent to the CF temp folder:

    If not an absolute path (starting with a drive letter and a colon or a slash to advance or back), it is relative to the ColdFusion temporary directory, which is returned by the GetTempDirectory function.

    There is no relative path from your web files. IF you just put a relative path, it will attempt in the CWS for the file temp folder.

  • How to set the relative path for referrals?

    Hello

    I use FDK.

    I'm trying to work with cross references and I have the problem with the path name < XRefSrcFile >. Every time when I started using F_ApiSetString, it 's defined as an absolute path and I need to put it in the relative path.

    Someone has an idea how solve it?

    Kate

    Kate,

    I can't reproduce this behavior. When I have defined XRefFile as an absolute path, then save under MIFID, I see a path relative to the MIFID. The exception is if I specify an invalid path, FrameMaker retains the absolute path. I don't know what to say beyond that. Are you sure you set a valid path to a file?

    Russ

  • How to read the .txt adfLib pot file to the model layer by using the relative path

    Hello

    In my application, I use the ExtendedDynamicFldTbl (extends weblogic.wtc.jatmi.DynamicFldTbl), which the manufacturer requires the field file path table as a parameter.

    In the API, it is said that this name of path can be an absolute path, a relative path to the directory where Java has started, or a relative path that can be found as a resource on the classpath.

    I have created this ExtendedDynamicFldTbl to the model layer project, placed the fild_tbl.txt in a separate package and pass the path relative to the DynamicFldTbl constructor.

    Given my code below to get the instance of ExtendedDynamicFldTbl
    package model.tuxedo;
    
    public class ExtendedFldTbl  extends DynamicFldTbl
    {
    
        private static ExtendedFldTbl extendedFldTblinstance = null;
        
        public ExtendedFldTbl(String tablePath, boolean flag)
        {
            super(tablePath, flag);
        }
        
        public static ExtendedFldTbl getInstance()
        {
            if (extendedFldTblInstance == null)
            {
                URL url = extendedFldTblInstance.class.getResource("resource/fldtbl.txt");
                if (url == null)
                {
                    throw new RuntimeException("Tuxedo Service : fldtbl.txt is not found in the path 'model.tuxedo.resource' ");
                }
                extendedFldTblInstance = new ExtendedFldTbl (url.getPath(), true);
                String[] list = extendedFldTblInstance .getFldNames();
                System.err.println("fldtbl loaded. Total FML entries loaded = " + list.length);
            }
            return extendedFldTblInstance ;
        }
    }
    I just added the output of the build of the layer model to view the project of the layer and tested. It works fine and I am able to get the ExtendedFldTbl instance with all loaded fields. But rather than add dependencies, if I create an adfLibJar for the layer model project and you add to view the project of the layer, it does not work. It is not ablt to read the file of adf lib jar file.

    Issues related to the:

    1. How can I solve this?
    2. Although I have kept the field text file table in the source of the project itself, when I read the url, it is
    "C:/Documents and Settings/raguramanv/Application Data/JDeveloper/system11.1.1.4.37.59.23/DefaultDomain/servers/DefaultServer/tmp/_WL_user/SampleWtc/3gkmt9/war/WEB-INF/lib/SampleWtc_Model_adflibSampleWtc1.jar!/model/tuxedo/resource/fldtbl.txt"
    Instead of the physical directory, how can I use application in model layer context?


    Thanks in advance

    Rambeau

    Hello

    Try /adf/ or /afr/ in the URL. Then includes the ADF resource loader which is used to get the contents of a lib of the ADF. Take a look at the structure of ADF library where the file is located in. It should be in a directory with /adf in the folder structure

    Frank

  • Link to files via the relative path?

    It seems that Captivate is only able to connect to external files via absolute links. In other words, when I create a click box that opens a file and select a file that is located on my development machine, the project will always look this file on my hard drive, even once it is posted on the Web. It's extremely frustrating, and I have not found a work around.

    Please help me identify a way to bind using a relative path. In other words, the project will solve it is the current residence and search for content in the directory, it lies in or specified directories under this location. It is the only way that you can create a project that can run successfully during the validation. Captivate already done this, when you create a click box that opens another project, so there MUST be a way to do when opening project files!

    Help, please!

    Thank you
    Dan Roberts

    You, Mr President, is a scholar and a gentleman!

    According to the agreements that you have described, I was able to create workable links. This should be widely published, I'm sure that many other authors is on the same problem.

    Note to Adobe: the ability to create relative links should be inside the product option, as in most of the other products I've used.

  • the frame in the frameset is not the relative path correctly

    http://www.autogamma.com/FastSP/catindex.html

    Click on 'PUMP LAVACRISTALLI' > "Quick Codice" > "PL100.
    images do not work
    In IE and Chrome images work fine

    The frame with PL100,... link to "pompe\PL100.html",...
    Target is the frame named "MAIN".
    In this context, the relative address is lost: the frame does not take the correct relative path, with a new subdirectory "pump".
    Path of the images remain.

    These links have the backslashes instead of slahes forward:

    <body><center><font size=2>CODICI FAST</font><br>
    <a href='pompe\PL100.html' target='MAIN'><font size=2>PL 100</font></a><br>
    <a href='pompe\PL101.html' target='MAIN'><font size=2>PL 101</font></a><br>
    <a href='pompe\PL102.html' target='MAIN'><font size=2>PL 102</font></a><br>
    <a href='pompe\PL103.html' target='MAIN'><font size=2>PL 103</font></a><br>
    <a href='pompe\PL104.html' target='MAIN'><font size=2>PL 104</font></a><br>
    <a href='pompe\PL105.html' target='MAIN'><font size=2>PL 105</font></a><br>
  • TestStand API: Define the relative path

    Dear community NOR!

    Could someone, please, with the following - is there an option to set the path to code modules, within the test sequence, to have a relative path, but not absolute? I add programmatically in code modules to the steps of the sequence, but currently, they have an absolute path. Is it possible to change it to relative with TestStand API?

    Thanks in advance.

    I was wrong. It is possible to manually cut path to the file (TestStand directories search function). Then, will add the modules of code with relative paths. But be careful - path should be cut properly.

    For example, I have the full path

    E:\Development\source code\supplementary\TestVIs\ Code Modules\Service\Print.vi

    My search directory is

    E:\Development\source code\supplementary\TestVIs\

    So, I need to cut like this:

    Code Modules\Service\Print.vi

    and without a bar slash at the beginning!

    Then it will be OK.

  • link with the relative path includes the root folder

    I hope someone can help me. When I convert a Word to PDF file with a path relative to another document, a reason any Acrobat includes the directory root with the path if the link does not work. Even when I try and change the link using Acrobat Pro and save the document, the system adds the default root directory. What is happening with this?

    example:

    Directory with the file/subdirectory with file/sup under directory with the file / / my document.pfs

    site to register:

    C: / / my documents /.

    Directory with the file/subdirectory with file/sup under directory with the file / / my document.pfs

    solved my problem. I removed the links in the word document and then created in Acrobat. It worked.

  • How to create the ellipse path gradient to PDF using object code

    Hello

    Someone tell me how to create PathGradient ellipse in pdf.i found the way to shadow Rectangle in pathgradient, but the ellipse can't shadow as pathgradient, if you know tell me please,

    Kind regards

    Sasi kumar S.

    Please refer to How to create LInearGradient in pdf format for why this isn't the right forum. Thank you.

  • ADF11g: Question relative path

    Hello
    I create a relative path for some of my files to run during execution.

    To do:
    I created an ExecFiles folder under public_html name.
    This folder contains fileDetail.xml and fileNewSlab.xml

    to access these files that I've created the relative path as follows:

    URL to the URL; +
    url = FacesContext.getCurrentInstance () .getExternalContext () .getResource ("/ ExecFiles fileDetail.xml"); +

    But it does not work :(

    Please tell what is the right way to create the relative path

    Thank you
    Maryline Roussel

    Hello

    You can try this:

    Url url;
    ServletContext context = ((HttpServletRequest)ctx.getExternalContext().getRequest()).getSession().getServletContext();
    url = context.getResource("/ExecFiles /fileDetail.xml ")
    

    Hope this helps

    Joseba

  • Urgent: how to create a shortcut with a relative path?

    I put a set of files and folders nested on a server on a network location.  (Use of office machines Vista; I don't know that the server is running.  The files are a text file and two Office 2007 files).  Users will copy this set-up files on their computer (there is a program of VBA macro in a Word document, they need).  They need tomorrow (Friday) and the shortcut path gives me fits!

    The hierarchy looks like:

    MainDir
    File.txt
    SubDir1
    Shortcut to the Word file
    SubDir2
    Word file
    Excel file

    I don't think even the paths associated with the shortcut until I looked a little deeper.  Because I put all the files and folders together on my computer, when I did a drag - move in the folder on the server, the target properties and start in the shortcut always pointed at my computer!  So now, I'm afraid that a user copy this on their machine will have a shortcut that points to ~ my ~ computer, instead of the file on their computer.

    I deleted the shortcut located on the server and creates a new one from the Word file in the directory on the server.  Better - I think - but it still points to the location of the server.  And it is even more likely that, when the user opens the shortcut, it will try to open the file on the server, vice the file on their computer.

    How can I create a shortcut to this Word file that will pick up the relative path from around where to reside?  I can just click > properties and change the target and start in paths?  Or do I need a VBScript or VBA?

    I have to get this done fast!  A kick - in the right direction is greatly appreciated.

    Ed

    Hi Ed,

    It is not possible to create a shortcut with a relative path.

    You can try the following allows to bypass and check if it helps:

    Create a shortcut to cmd.exe running the start command to open the current directory. Then set the MDC in the

    The shortcut properties.

    a. make a new shortcut to: cmd.exe /c start.

    b. now right-click on it and get the properties of the shortcut (shortcut tab).

    c. the shortened full path must have been set to this:

    %windir%\system32\CMD.exe /c start.

    d. set the directory of "start in" (i.e. DLG) to be a relative path:

    (Example for a shortcut on the desktop)

    ...\SendTo

    e. click on "change icon...". "and set" look for icons in this file: "to: %SystemRoot%\system32\SHELL32.dll and press ENTER.

    Standard folder icon will probably be in the lower right.

    f. now you can copy this file and simply change the "start in:" to make new related shortcuts directory.

    NOTE: The above steps are just an example, so try this at your own risk. And check if it works.

    You can also read the following article and check:

    Folder redirection fails when you specify the mapped network drive or the Environment Variable

    http://support.Microsoft.com/kb/321805

    You can check out the following link and also post your request in the Technet forum for further assistance:

    http://social.technet.Microsoft.com/forums/en-us/winserverPN/threads

    Hope this information is useful.

  • Creating a shortcut with relative paths

    I'm trying to set up a folder so that I can copy a group of files from USB drives, and I want to place a shortcut to open the Powerpoint Viewer into a subfolder of this folder to copy.   When I put in place a regular shortcut, it creates the full path: 'C:\Users\xx\Documents\Thumb Drive Files\With CAD Drawings\Product présentation Files\pptview.exe training', and when they are copied on a USB key, it will not work because it seeks the path 'C:', rather than the relative path in the folder, \With CAD Drawings\Product Training Presentation Files\pptview .exe.  I don't remember how to set this up with relative paths.

    You can't go with shortcut, you use a batch file on the root of the drive that has an order of relative path for the first command in it.

  • How to open a configuration file with a relative path?

    I want to open a configuration file when my application is initialized (first 'State', you can tell) and I use 'Open file.vi Config' and tried to pass the path of the config as 'data\myconfig.ini' and the 'File exists?' vi gave no error (simply, the exit is 'false') but the config Open leader gave an error.

    If I spend an absolute path "D:\xyz\xyz\myconfig.ini", it works fine. Is not is it possible to use the "relative path" I recall using it before searching for other tasks?

    I'd rather have this file in the folder "data" my application setup will create the destination directory during the installation of the application, because it won't be easy when I want to ask the user to open and modify. Or, I just put it in "C:\". "that exists on all windows computers, but it would be too open.

    Thanks in advance!

    hope this helps:

  • Relative path of Windows shortcut file

    Hello

    I have the complete file of PDFs (hundreds of them) and I need them zip. I need also make a shortcut of one of these pdf files in this zip and rename it, so it is recognizable among others. But when I do a shortcut, zip of PDFs with the shortcut and delete the original files - inside the zip link stops working.

    I have a question if I can have this shortcut in the relative path, so it is not dependent on the original data, and if it can work inside this zip (as well as inside the folder) any absolute path is.

    Can someone help me? Is it still possible?

    Thank you very much

    Nobody has never reported a method to create shortcuts on Windows.  A lot of people seems to have attempted; If you are looking for relative shortcut in this forum you will see other threads on the subject.

Maybe you are looking for