How/where are substitution strings defined in 4.1?

There used to be a way to define substitution strings in Apex, but since upgrading to 4.1, I am unable to find. I have two different paths for generating reports depending on the environment (test or prod) that I am using and want a simple way of substituting those path names. thanks!

KarenH wrote:\
There used to be a way to define substitution strings in ApexThe static Substitutions section in the Application Definition?
but since upgrading to 4.1, I am unable to find.Home > Application Builder > Application > Edit Application Definition
i.e. click the Edit Application Properties button on the application home page.

Similar Messages

  • Where are interned String stored?

    I believe interned Strings are stored in the heap. What about the data structure that holds references to these interned Strings? Is it also stored in the heap? And what sort of collection is this? I remember reading that it was once a regular hash map, but due to memory issues, it was changed to a map containing weak references. Is this true?
    Thanks.

    ghirschhorn wrote:
    I believe interned Strings are stored in the heap. What about the data structure that holds references to these interned Strings? Eh? That's more internal to the JVM implemntation. It's not managed as part of your Java program's memory, per se. The JVM knows where a given literal is, by whatever mechanism that implementation chooses, and any epxression in your Java code that refers to an interned String is managed by the VM.
    String x = s.intern(); // 1
    String y = "abc"; // 2In #1, intern is a native method. The JVM manages its own internal data structure, separate from your program's heap, or at least from any part of it that you can access, where it looks up that string--creating the String, in the heap, (in the constant pool in the method area) and putting a reference to it in the VM's internal structure if needed--and returns the result of that lookup.
    In #2 the class file has bytecodes that tell it to get a reference from the constant pool. When the class is loaded, the JVM internall maps that class' identifier to whatever its internal data structure is.
    :; cat Str.java
    class Str {
      String y = "abc";
    jeff@shiro:/tmp 21:29:39
    :; javap -c -classpath . Str
    Compiled from "Str.java"
    class Str extends java.lang.Object{
    java.lang.String y;
    Str();
      Code:
       0:   aload_0
       1:   invokespecial   #1; //Method java/lang/Object."<init>":()V
       4:   aload_0
       5:   ldc     #2; //String abc
       7:   putfield        #3; //Field y:Ljava/lang/String;
       10:  return
    }#5 is the the key: ldc #2; //String abc
    From [the L section of the JVM Instuction Set|http://java.sun.com/docs/books/jvms/second_edition/html/Instructions2.doc8.html]
    >
    ldc
    Operation
    Push item from runtime constant pool
    Formatldc      
    index      
    Forms
    ldc = 18 (0x12)
    Operand Stack
    ... ..., value
    Description
    The index is an unsigned byte that must be a valid index into the runtime constant pool of the current class (�3.6). The runtime constant pool entry at index either must be a runtime constant of type int or float, or must be a symbolic reference to a string literal (�5.1).
    If the runtime constant pool entry is a runtime constant of type int or float, the numeric value of that runtime constant is pushed onto the operand stack as an int or float, respectively.
    Otherwise, the runtime constant pool entry must be a reference to an instance of class String representing a string literal (�5.1). A reference to that instance, value, is pushed onto the operand stack.
    >
    So the VM hits the instruction telling it to push "constant #2 from class Str", which it then internally maps to the appropriate reference to an object in the constant pool.
    How the JVM does that mapping it unspecified.

  • Purchase Req for third party items on SO-where are required fields defined?

    I have that issue where when a third party item is entered on a sales order, it goes on credit hold and when you release it, it tries to create a purch req but can't because of the required field - Val Price is not automatically filled in. I thought I could make the field not required by going to config and under purch
    requistion>Define Screen layout at Doc level and changed the price and
    unit option to optional instead of required but it still treats it like
    a required entry. That config change only affected that field if creating a purch req from scratch, didn't affect if creating one from sales order third party item.
    Thanks for any input!

    Hi Mike,
    Please contact to sd consultant regarding that.
    Regards,
    Anil

  • How/Where are Financial Reports Saved on the File System of the Server?

    We've recently lost a large chunk of our reports on our server. We can't figure out which directory location to restore in order to get those reports back. Where is the default directory for 11.1.2.2 Financial Reports? And in what format are those reports saved?

    The FR reports themselves are found in the Operating System (O/S) file system, but the EPM Workspace heirarchy (folders, tree, etc) are stored in the Hyperion BI+ repository database.
    On the O/S file system, the reports are stored in RM1 folder under "C:\oracle\Middleware\user_projects\epmsystem1\ReportingAnalysis\data\RM1\root" folder.
    The names of the reports located here are UUID (long identifiers - not the actual names).
    For example:
            when a report is created with the name"My report" in the Financial Reporting Studio, when logging into EPM Workspace it will be accessible within Financial Reports/folder name where it was saved.
            the actual report will be stored in a sub-folder of the RM1\root folder on file system.
                The name of the file will be a unique identifier (not the actual name of the report i.e. "My report")
                It will be generated "on the fly" based on various things such as the current date and time on the server (i.e 0000012f5af72b1a-0000-ec71-c0a8006c.00000130510b77bb-0000-5133-c0a8006c.1)
    The meta-data for that report ("My report", that is in the folder in Workspace, the modification date of the report, the permissions on that report, etc.) will be stored in the Hyperion BI+ DB as an object in an encrypted table. Financial Reporting knows what meta-data is in the Hyperion BI+ DB that matches the report, in the "RM1\root" folder because all the rows in the table for this object in the Hyperion BI+ DB that are related to "My report" will be referenced using the UUID of the file (e.g. 0000012f5af72b1a-0000-ec71-c0a8006c.00000130510b77bb-0000-5133-c0a8006c.1)
    Note: The location of RM1 folder differs with each installations' operating system.

  • Where are the strings?

    I just installed Leopard and found that i had a considerably less amount of Software Instruments. The loops were also greyed out like some other people have mentioned but i fixed that problem. i need my stringsssss. help?

    Nigel,
    Sorry , if my comment came across blunt.
    - I was under impression (reading about your Rosetta Stone display app etc) that you have many enterprise, international clients. So it didn't make sense that you are describing localization process in the forum. Once you reveal(indirectly) that you really do not have many clients..it all makes sense!
    - No you are not providing free support. The hope is that we will use your platform and support adobe in one way or other. If this platform fails to meet minimum requirements then we will loose lot more than you. Think about hundreds of people on this forum spending their valuable time to test your software and hopefully make it successful. We all are paying you more a lot of money with our time. Hope you appreacite that and keep in mind while designing the platform. We are risking a lot more than you by trusting that your platform will live long and will work for us. We ask you hard questions up front, not to put you down but to see whether LCCS will really meet our customer's demand in long run.
    Cheers

  • Modifying a Application Substitution String in Run-time

    Hello all,
    I have a substitution string defined in an application (under application definition) that needs to be different based on whether the application is on a development server or a test server. Is there a way that I can alter the value of that subsitution string on my test run-time instance after I've brought the application in from development? Perhaps an API call? APEX_INSTANCE_ADMIN doesn't appear to have anything for this.
    Or do I have to either do a test in code and set an application item when the application starts up, or pull it from a database table or constant?
    Thanks!
    John

    Shane,
    SubVersion works with files, so everything you do has to be a file, including all of your PL/SQL procs / functions / packages. If you have "cowboy coders" editing packages in the database with SQL Developer or TOAD, that's the first thing that needs to change. I regularly export my APEX apps and check them in. I also make a DDL-only backup of any schemas I'm working on at major mile-stones or before upgrades.
    There's a server and client component. The sever houses the repository and everyone checks projects out from and commits projects to the server. On the client-side, the TortoiseSVN client is by far the most popular Windows client. It perfectly integrates with Windows so you can right-click a file and lock, update, commit it.
    To work on a project, you:
    - check it out from the repository. you typically only do this once as you keep a working copy on your client pc.
    - get a lock on a file you want to edit. This is optional, but it's my preferred method. Now you are the only one that can commit the file back to the repository.
    - make your changes to the file, once you are happy, simply right-click and select commit. you can then enter comments on the file.
    - now, anyone else who wants to edit that file will see your changes when they request a lock or issue the "update" command.
    You can review every version of the file, diff versions, "Tag" a version of your code, and the list goes on.
    After a few hours you'll be comfortable with the client process. I think the server component of it deters most people as you have a number of choices to make and it can be slightly complicated to install. For this reason, I STRONGLY recommend trying one of the hosting providers as then all you have to worry about is the client-side. Additionally, your code is now backed-up off-site.
    I don't have any personal experience with these services, but here are a few reasonably priced ones. The first one has a free option which is where I would start with a test project just to get a feel for it.:
    - https://www.projectlocker.com
    - http://svnrepository.com/
    For what it's worth, the APEX team uses SubVersion, as do many dev teams inside Oracle (not the DB dev team though). Also, the new https://samplecode.oracle.com uses Subversion as part of an offering from CollabNet. My 1st project hosted there is called logger . You can brows the logger subversion repository here: https://logger.samplecode.oracle.com/source/browse/logger/
    Links:
    - [TortoiseSVN Client|http://tortoisesvn.tigris.org/]
    - [SubVersion Server|http://subversion.tigris.org/]
    Tyler Muth
    http://tylermuth.wordpress.com
    [Applied Oracle Security: Developing Secure Database and Middleware Environments|http://sn.im/aos.book]
    Edited by: Tyler on Nov 17, 2009 2:57 PM

  • Where are my iPod serial numbers stored in iTunes for Mac?

    Our house was recently broken into and all my iPods were stolen (nano, 2 shuffles and a classic).  I didn't register any of them (because I am young and stupid apparently...) so they are not on the my support tab on my account.  I read that iTunes stores the serial numbers somewhere in data files on the computer, but could only find the paths for Windows operating systems... How/where are they located on a Mac?
    I want to put them in the police report..
    THANK YOU in advance!

    If you have synced recently, go to computer iTunes > Preferences... > Devices tab > select and mouse hover over the iPod backup entry and your s/n will be shown. (Might need to wait a second or two)

  • Where are FOP/PDF template substution strings defined/generated?

    Hi!
    I am working with the FOP / PDF templates. Can anyone tell me where substitution strings like "#PRN_TEMPLATE_HEADER_ROW#" defined or generated?
    What are all the substitution strings that can be used in FOP/PDF templates? What are their definitions?
    Thanks in advance for any help, hints, ideas, tricks, etc.!
    Dave Venus
    Message was edited by:
    dvenus1

    David,
    Those strings are used when printing report regions. So when you have a report, you'll find a number of customization attributes on the print attributes page, those attributes correspond to these substitution strings. When you create your own generic columns XSL-FO report layout under Shared Components, all substitution strings are listed in the item level help.
    Regards,
    Marc

  • How to edit #BODY# substitution string?

    Hi All,
    I have an issue where I would like to set the border="1" in region where I have placed some select lists and buttons.
    In the region template I can see:
    <td class="t10RegionBody">#BODY#</td>
    From the HTML source of the output page I can see that this is resolved to something begining with:
    <td class="t10RegionBody"><table class="formlayout" summary="" >...
    Now how can I add or change the table definition which seems to be a part of #BODY# substitution string?
    How can I view the contents behind #BODY# string?
    Regards,
    Pawel.

    See http://i14.tinypic.com/2nu7i95.jpg
    That "HTML Table attributes" in the Region Template might be what you are looking for.

  • How to find out where an alias is defined

    How can I find out where an alias is defined on my system? I am referring to the kind of alias that is used within a Terminal session launched from Mac OS X (10.6.3).
    For example, if I enter the alias command with no parameters at a Terminal command prompt, I get a list of aliases that I have set, for example, this is one of them
    alias mysql='/usr/local/mysql/bin/mysql'
    However, I have searched all over my system using Spotlight and mdfind in various startup files and so far can not find where this alias has been defined ( I did it a long time ago and didn't write down where I assigned the alias).

    Thank you. I must have missed that before. It looks like the alias definitions in my case are in the file ~/.bash_profile.

  • How to get where the search string appears in the results

    Hi every one
    i am new to Oracle Text
    this is my project environment "EJP 3.0+seam+JSF"
    in my part i need to implement smart searches within large text objects.
    So i planed to use Oracle text with context type indexing.
    I my search part i need to display where the search string appears in the results
    i don't know how to archive it,
    is it achived by CTX_DOC.GIST ?
    this is my table format
    Tbl_Book
    book_id Book_Title Book_description
    Tbl_Author
    author_id book_id author_name
    in my first table i index the Book_Title and Book_description columns
    EXEC CTX_DDL.DROP_PREFERENCE ('expert_concat_datastore')
    drop index Tbl_Book_Index force;
    BEGIN
    CTX_DDL.CREATE_PREFERENCE
         ('expert_concat_datastore', 'MULTI_COLUMN_DATASTORE');
    CTX_DDL.SET_ATTRIBUTE
         ('expert_concat_datastore', 'COLUMNS', 'Book_Title,Book_description');
    END;
    alter table Tbl_Book add (dummy varchar2(1))
    begin
    Ctx_Ddl.Drop_Section_Group
    group_name => 'my_section_group'
    exception
    when others then
    /* OK if DRG-12203: section group MY_SECTION_GROUP does not exist */
    if instr ( SQLERRM, 'DRG-12203' ) != 0 then null;
    else raise_application_error ( -20000, SQLERRM ); end if;
    end;
    begin
    Ctx_Ddl.Create_Section_Group
    group_name => 'my_section_group',
    group_type => 'basic_section_group'
    Ctx_Ddl.Add_Field_Section
    group_name => 'my_section_group',
    section_name => 'title',
    tag => 'Book_Title'
    Ctx_Ddl.Add_Field_Section
    group_name => 'my_section_group',
    section_name => 'description',
    tag => 'Book_description'
    end;
    create index Tbl_Book_Index on Tbl_Book ( dummy )
    indextype is ctxsys.context parameters (' datastore expert_concat_datastore section group my_section_group');
    begin
    Ctx_Ddl.Drop_Section_Group
    group_name => 'my_section_group'
    end;
    in my second table i index the author_name column
    drop index Tbl_Author_Index force;
    create index Tbl_Author_Index on Tbl_Author (author_name) indextype is ctxsys.context parameters('filter ctxsys.null_filter section group ctxsys.html_section_group');
    begin
    Ctx_Ddl.Optimize_Index (
    idx_name => 'Tbl_Author_Index',
    optlevel => Ctx_Ddl.optlevel_fast
    end;
    my search result is only in my Tbl_Book.
    Because it is my primary one.
    So this is my query in EJP 3.0
    select t from Tbl_Book t LEFT JOIN t.AuthorCollection c wherecontains(t.dummy, 'java within title or(java within description)',10) > 0 or contains(c.author_name ,'thiagu',20) > 0 ) ORDER BY SCORE(10), SCORE(20)
    here i need to get single SCORE how to do that ?
    i dont know how to highlight the search string in the result ?
    is it archived by CTX_DOC.MARKUP ?
    please any one help me
    By
    Thiagu.m

    Weird.  I have multuple monitors and the boot stuff always appears on my main monitor.
    See if smc and pram reset clears the problem.
    I have multiple screens on my Mac Pro. A normal screen, a projector and a USB-to-DVI converter.
    What video card are you using?  And USB-to-DVI is not the usual way for connecting monitors.  I wonder if that is confusing things.  So out of curiousity what happens if that monitor is not connected?

  • Where are imported shared libraries defined

    in system-application.xml, the imported-shared-libraries are defined as :
    <imported-shared-libraries>
    <import-shared-library name="oracle.dms"/>
    <import-shared-library name="oracle.jdbc"/>
    and these are used in server.xml like:
    <import-shared-library name="oracle.jdbc"/>
    my questions is where does the imported libraries name and actual jar files defined. for ex. for the name oracle.jdbc, where are the jar libraries location defined?
    I got a problem looks like application server not able to find these jars unless I copy them to the applib folder.
    Thanks

    Additional shared libraries may be configured to override the default shared libaries, including the oracle.jdbc library.
    http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-swapjdbclib/doc/readme.html

  • How many types of user defined functions are there?

    how many types of user defined functions are there?

    Hi Ramakrishna,
    A user-defined function is only visible in the message mapping in which you created it. You can insert the function in the data-flow editor as a standard function by using the User-Defined function category.
    You can use the following user-defined functions:
    1.Simple functions, which can process individual field input values for each function call. Simple functions therefore expect strings as input values and return a string.
    2.Advanced functions, which can process several field input values for each function call. You can import either all field values of a context or the whole queue for the field in an array before calling the function. For more information, see Advanced User-Defined Functions.
        go through :
    http://help.sap.com/saphelp_erp2004/helpdata/en/22/e127f28b572243b4324879c6bf05a0/content.htm
         Advanced user-defined functions, which can process more than just individual field values.Instead, you can import a complete context or an entire queue for a field as an array before your function is called
        go through :
    http://help.sap.com/saphelp_erp2004/helpdata/en/f8/2857cbc374da48993c8eb7d3c8c87a/content.htm
    *Pls: Reward points if helpful*
    Regards,
    Jyoti

  • How to compare two strings whether both are equal while ignoring the difference in special characters (example: & vs & and many others)?

    I attempted to compare two strings whether they are equal or not. They should return true if both are equal.
    One string is based on Taxonomy's Term (i.e. Term.Name) whereas other string is based on String object.
    The problem is that both strings which seem equal return false instead of true. Both string values have different special characters though their special characters are & and &
    Snapshot of different design & same symbols:
    Is it due to different culture or language?
    How to compare two strings whether both are equal while ignoring the difference in special characters (& vs &)?

    Hi Jerioon,
    If you have a list of possible ambiguous characters the job is going to be easy and if (& vs &) are the only charracters in concern awesome.
    You can use the below solution.
    Before comparing pass the variables through a replace function to standarize the char set.
    $Var = Replace($Var,"&","&")
    This is going to make sure you don't end up with ambiguous characters failing the comparison and all the char are "&" in this case.
    Similar technique is used to ignore Character Cases 'a' vs. 'A'
    Regards,
    Satyajit
    Please “Vote As Helpful”
    if you find my contribution useful or “Mark As Answer” if it does answer your question. That will encourage me - and others - to take time out to help you.

  • Where are the actual Aperture files located? Only in the application? I am transitioning to Lightroom and would like to only move some of the files. Advice appreciated. Also anyone know how to transfer in with edits?

    Where are the actual Aperture files located? Only in the application? I am transitioning to Lightroom and would like to only move some of the files. Advice appreciated. Also anyone know how to transfer in with edits? Using iMac, OS X, most recent Aperture and Lightroom 5.7 with plugin for Aperture.

    Define "the Aperture files".
    Read this concise guide.
    The files you imported into an Aperture Library can be exported (at any time, and repeatedly) using the command "File ▹ Export ▹ Originals".  Your Originals are never altered.  What went in is what comes out.
    Adjustments and changes to the metadata that you made since creating an Image in Aperture by importing a file are saved to a text file.  This file is combined, on-the-fly, with the Original to create the Image that you see in Aperture.  There is no file saved to disk that is the full-size Image.  Thumbnails are saved, and Previews are saved.  These are JPG files, almost always smaller than the Original.  They are not substitutes for the Image for the use you have.
    When you need a file of an Image to use in another program, you export the Image from Aperture.  "Export" means "Make me a file of this Image according to these file specs I'm providing".  The way to get files of your adjusted Images is simple:  create them by exporting.  Specify "Original size", and use a loss-less image-file format (e.g. TIFF 16-bit) if you want to retain as much visual information as possible.
    Search the Web for information about transitioning from Aperture to Lightroom.  Note that I say "transitioning".  You cannot move a database from one format to another without significant changes, and likely some loss of information.  Adobe provides a tool and some instructions.  I strongly recommend working out the process step-by-step, and then proceeding with first a few Images, then a bushel-ful, and stopping to use the first few, the the bushel-ful, before committing your entire collection to the process.
    As always, never use any computer file without having a back-up.
    We have seen mixed reports here of the success of the LR tool that creates a LR database from your Aperture database.
    If you want to carefully define the process, and test and refine it, use the excellent process-development, analysis, and execution program inShort.
    Sadly, there is not and can never be a good, thorough re-positioning of the digital assets in your Aperture Library to become digital assets in a LR database.  Just as a metaphor for any user contemplating transitioning to another digital asset manager:  that would be like digging up a house in one country, planting it in a hole in another country, and expecting to be able to use the toilet and the sinks, turn on the lights, cook dinner, and sleep soundly.
    HTH,
    Kirby.

Maybe you are looking for

  • How do I view albums within a genre?

    When I click into a genre I get an option for "albums" and a list of artists. If I click on albums, it gives me a list of all my albums in itunes not just those within the genre. How can I get a list of only the albums within a genre? Thanks

  • Adobe after effects blue screen at "Intializing User Inferance"

    Everytime i start up Adobe after effects cs4 i get a blue screen error at intializing user inferance. Can anyone help me with this? I have reinstalled after effects a couple times with no luck

  • Static variable scope

    Hi, Can anyone answer this .......... class X has a static variable of class hashmap. Class A generates multiple instances of itself and each instance accesses class X. I know that each instance of A will access the same class X hashmap object as it'

  • Systemd and nfs exports [solved]

    I recently switched my server over to systemd and now I cannot connect to the NFS share that it is exporting. Here is the entry in the /etc/fstab on the server: /dev/sdb1 /media/media ext4 defaults,noatime 0 1 /media/media /nfs4exports/media none rw,

  • Iphoto and elements 12

    I chose the option in iphoto preferences to have edit in elements 12. Elements 12 opens right up from iphoto but says it can't recognize the file. I am using JPEG files. I have a hard cropping in elements 12 and it is so easy in iphoto. So I was goin