Customized scripts within the Deployment Template environment

Hello,
In the endeca documentation I see that "The sample scripts provided with the Deployment Template control the Endeca operational tasks through the EAC. You can use these scripts, or create custom scripts based on them. The scripts typically run such processes as routine baseline and partial updates. You can also add specific scripts that run before the Dgraph is stopped or after it is started."
I would like to call a .bat before the DGraph is stopped or after it is started, but I can't find where.
I think it's in the AppConfig.xml file, right? Could you give me an example?
Thanks,
Stephane

1st Declare your action. Here is a sample that manually calls the set data ready flag...
<shell id="SetDataReadyFlag" host-id="ITL_Local" >
<command>${ENDECA_PROJECT_DIR}\control\set_baseline_data_ready_flag.bat</command>
</shell>
then in your custom tasks (or even the tasks that are part of the deploy template), you can call it....
<script id="BaselineBuildDataFiles">
     <bean-shell-script>
     <![CDATA[
         // Get data
            // Verify Data
            // Set endeca data ready flag
         SetDataReadyFlag.run();
     ]]>
     </bean-shell-script>
</script>
The only thing I don't think you can do is get a response from the external call that you make. In that case I usually have my .bat, .exe, etc Write out a result file and then I read and parse the results from that.
Hope this helps

Similar Messages

  • Within the budget template; how would one create an entire year worth of a budget; with out having to create a separate page for each month?

    Help!
    Loving the budget template, but I would like to be able to create an entire years worth of a buget with out creating a whole new transaction/budget page for each month. How do I get the new transaction to identify a new budget chart?
    Thanks, Emily

    Emily,
    No need to think the budget template is only for one month.  Just keep typing the date in the date column of the "Transactions" sheet and the details will update.  You should adjust the budget categories to match the duration of time you want to use.
    If you do want month-by-month, then you can switch to the "Transactions" sheet, select the table, cut
    then switch back to the "Budget" sheet, paste.
    Now rename the "Budget" sheet something like "Budget Jan 2014", and delete the "Transactions" sheet. Set the budget for Jan in the column I highlighted above.  The subsequent months, duplicate the monthly budget:
    Then adjust the the entries in the transactions table inside this sheet.

  • Custom TOC WITHIN the Project?

    One glaring weakness (in my opinion) of Captivate is the inability to truly customize the TOC. What is included is flat-out ugly, and the customization options are quite limited.
    So it hit me today to try this:
    Use an Advanced Action, along with a simple shape button to toggle the show/hide of the TOC.
    I created a quick example and it works great....problem is, Captivate won't allow a grouped object that is pasted onto a Master slide, or any grouped object (or any object) anywhere to retain it's reference name across slides.
    Has anyone else tried this before? I was thinking the only other approach that might work would be to develop the TOC in Flash, export as an AS3 swf, and then import into the Master Slide, and then trigger the showing/hiding of that via a shape button in Captivate. But, although we can import SWF to a Master Slide, we can't give it a reference name and thus cannot manipulate it via an Advanced Action.
    Very frustrating....
    Is everyone out there just sticking with either the stock TOC, or the not all that much better/different 3rd-party TOC widgets that are out there?
    Any approaches I haven't thought of that you could recommend to solve this problem?

    Sorry, Rod, to disagree with you. Did you try out that variable? It is working only with overlay TOC for me, not with separate TOC.
    Danielle, create a button, for Success action in the Properties panel for this button choose 'Execute Advanced Action'. Then open the Adv. actions dialog box with the small folder icon right to the Script-field. Create this action;
    This action will not release the play head.
    I talked about that kind of toggle buttons in a recent article on my blog (it was for shape buttons, but actions can also be created for default buttons of course): http://lilybiri.posterous.com/toggle-shape-buttons
    Lilybiri

  • [SOLVED] dwm-status.sh, possible to include scripts within the script?

    I have 'dwm-status.sh' printing some basic info (mpd, vol, date) into the status bar. Is it possible to make it include eg. gmail, weather, and battery scripts in a similar way that conky would? (execpi 60 python ~/.scripts/gmail.py)
    Also, off topic: How can I see which other special characters represent which icons in Ohsnap font? e.g. "Ñ" "Î" "¨" "¹" "ê" "í" "È represent cpu, memory, hdd, vol, clock.... how about the rest?
    dwm-status.sh:
    #!/bin/sh
    icons=("Ñ" "Î" "¨" "¹" "ê" "í" "È")
    getMusic() {
    msc="$(ncmpcpp --now-playing '{%a - %t}|{%f}')"
    if [ ! $msc ]; then
    echo -ne "\x0A${icons[4]}\x01 music off"
    else
    echo -ne "\x0A${icons[4]}\x01 ${msc}"
    fi
    getVolume() {
    vol="$(amixer get Master | egrep -o "[0-9]+%" | head -1 | egrep -o "[0-9]*")"
    echo -ne "\x0A${icons[5]}\x01 ${vol}"
    getDate() {
    dte="$(date '+%b %d %a')"
    echo -ne "\x0A${icons[1]}\x01 ${dte}"
    getTime() {
    tme="$(date '+ %H:%M')"
    echo -ne "\x0A${icons[6]}\x01 ${tme}"
    while true; do
    xsetroot -name "$(getMusic) $(getVolume) $(getDate) $(getTime)"
    sleep 1
    done
    Last edited by Winston-Wolfe (2013-06-26 13:10:11)

    Thanks guys, I've managed to get my notification scripts printing by simply not using execpi:
    getMail() {
    mai="$(~/.scripts/gmail.py)"
    echo -ne "\x0A${icons[3]}\x01 ${mai}"
    But like you said, I now have a calling frequency challenge.
    Trilby, that looks great. I've got it partially working, but I'm at a loss on how to go about printing the variables in the loop for those blocks that happen periodically.
    otherwise your email indicator (for example) will only pop up for one second every 5 minutes.
    ^ exactly what's currently happening.
    Is there something that just prints the variable without calling for an update like $(getMail) does that I could put into the loop?
    let loop=0
    while true; do
    # stuff that happens every second here
    xsetroot -name "$(getMusic) $(getVolume) $(getDate) $(getTime)"
    if [[ $loop%60 -eq 0 ]]; then
    #stuff that happens every minute here
    xsetroot -name "$(getMusic) $(getMail) $(getVolume) $(getDate) $(getTime)"
    fi
    if [[ $loop%300 -eq 0 ]]; then
    # stuff that happens every 5 minutes here
    xsetroot -name "$(getMusic) $(getMail) $(getWeather) $(getVolume) $(getDate) $(getTime)"
    let loop=0 #this prevents an eventual overflow
    fi
    let loop=$loop+1
    sleep 1
    done
    Last edited by Winston-Wolfe (2013-06-26 08:54:47)

  • Referencing custom folders within the EUL from Application Express

    Hello,
    Is there a way to reference custom SQL folders built and contained on the Discoverer EUL from Applications Express?
    Has anyone done this before?
    Regards,
    Jeff

    Got it...

  • Deploying on EC2 and Deployment Template Problems

    Hello,
    Im trying to configure a Endeca install on a EC2 micro instance as a proof of concept.
    So far i have deployed the following:
    /mnt/endeca/endeca/MDEX/6.2.1
    /mnt/endeca/endeca/PlatformServices/6.1.1/
    /mnt/endeca/endeca/Workbench/2.1.1/
    I can visit the Workbench admin console etc so everything is up and running. The problem im having is deploying and forging the sample pipeline contained in the deployment template app.
    I run the deployment template app to configure the pipeline but then when i come to run:
    ./initialize_services.sh
    I get a lot of warnings then an error and it crashes:
    [root@ip-10-58-182-152 control]# ./initialize_services.sh > /tmp/output.txt
    [04.30.12 16:24:01] INFO: Removing application. Any active components will be forced to stop.
    [04.30.12 16:24:02] INFO: Removing Web Studio config files.
    [04.30.12 16:24:02] INFO: [ITLHost] Starting shell utility 'emgr_update_remove_all_settings'.
    [04.30.12 16:24:02] INFO: Removing definition for custom component 'ConfigManager'.
    [04.30.12 16:24:02] INFO: Updating provisioning for host 'ITLHost'.
    [04.30.12 16:24:03] INFO: Updating definition for host 'ITLHost'.
    [04.30.12 16:24:03] INFO: Removing definition for application 'morrisons'.
    [04.30.12 16:24:03] INFO: Application 'morrisons' removed.
    [04.30.12 16:24:04] INFO: Checking definition from AppConfig.xml against existing EAC provisioning.
    [04.30.12 16:24:05] INFO: Setting definition for application 'morrisons'.
    [04.30.12 16:24:05] INFO: Setting definition for host 'ITLHost'.
    [04.30.12 16:24:05] INFO: Setting definition for host 'MDEXHost'.
    [04.30.12 16:24:05] INFO: Setting definition for host 'webstudio'.
    [04.30.12 16:24:06] INFO: Setting definition for script 'BaselineUpdate'.
    [04.30.12 16:24:06] INFO: Setting definition for script 'PartialUpdate'.
    [04.30.12 16:24:06] INFO: Setting definition for script 'ConfigUpdate'.
    [04.30.12 16:24:06] INFO: Setting definition for custom component 'ConfigManager'.
    [04.30.12 16:24:06] INFO: Updating provisioning for host 'ITLHost'.
    [04.30.12 16:24:06] INFO: Updating definition for host 'ITLHost'.
    [04.30.12 16:24:06] INFO: [ITLHost] Starting shell utility 'mkpath_dgraph-config'.
    [04.30.12 16:24:06] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_dgraph-config' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    [04.30.12 16:24:06] INFO: [ITLHost] Starting shell utility 'mkpath_temp'.
    [04.30.12 16:24:07] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_temp' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    [04.30.12 16:24:07] INFO: [ITLHost] Starting shell utility 'mkpath_complete-index-config'.
    [04.30.12 16:24:07] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_complete-index-config' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    [04.30.12 16:24:07] INFO: [ITLHost] Starting shell utility 'mkpath_config'.
    [04.30.12 16:24:07] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_config' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    [04.30.12 16:24:07] INFO: Setting definition for component 'Forge'.
    [04.30.12 16:24:07] INFO: [ITLHost] Starting shell utility 'mkpath_incoming'.
    [04.30.12 16:24:08] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_incoming' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    [04.30.12 16:24:08] INFO: [ITLHost] Starting shell utility 'mkpath_complete-index-config'.
    [04.30.12 16:24:08] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_complete-index-config' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    [04.30.12 16:24:08] INFO: [ITLHost] Starting shell utility 'mkpath_temp'.
    [04.30.12 16:24:08] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_temp' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    [04.30.12 16:24:08] INFO: Setting definition for component 'PartialForge'.
    [04.30.12 16:24:08] INFO: [ITLHost] Starting shell utility 'mkpath_incoming'.
    [04.30.12 16:24:09] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_incoming' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    [04.30.12 16:24:09] INFO: [ITLHost] Starting shell utility 'mkpath_cumulative-partials'.
    [04.30.12 16:24:09] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_cumulative-partials' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    [04.30.12 16:24:09] INFO: Setting definition for component 'Dgidx'.
    [04.30.12 16:24:09] INFO: Setting definition for component 'Dgraph1'.
    [04.30.12 16:24:09] INFO: [MDEXHost] Starting shell utility 'mkpath_cumulative-partials'.
    [04.30.12 16:24:10] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_cumulative-partials' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host MDEXHost.
    [04.30.12 16:24:10] INFO: [MDEXHost] Starting shell utility 'mkpath_dgraph-config'.
    [04.30.12 16:24:10] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_dgraph-config' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host MDEXHost.
    [04.30.12 16:24:10] INFO: [MDEXHost] Starting shell utility 'mkpath_local-dgraph-input'.
    [04.30.12 16:24:10] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_local-dgraph-input' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host MDEXHost.
    [04.30.12 16:24:10] INFO: [MDEXHost] Starting shell utility 'mkpath_local-cumulative-partials'.
    [04.30.12 16:24:15] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_local-cumulative-partials' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host MDEXHost.
    [04.30.12 16:24:16] INFO: [MDEXHost] Starting shell utility 'mkpath_local-dgraph-config'.
    [04.30.12 16:24:27] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_local-dgraph-config' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host MDEXHost.
    [04.30.12 16:24:32] INFO: [MDEXHost] Starting shell utility 'mkpath_local-xquery'.
    [04.30.12 16:24:43] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_local-xquery' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host MDEXHost.
    [04.30.12 16:24:46] INFO: Setting definition for component 'Dgraph2'.
    [04.30.12 16:24:57] INFO: [MDEXHost] Starting shell utility 'mkpath_cumulative-partials'.
    [04.30.12 16:24:57] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_cumulative-partials' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host MDEXHost.
    [04.30.12 16:24:57] INFO: [MDEXHost] Starting shell utility 'mkpath_dgraph-config'.
    [04.30.12 16:24:57] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_dgraph-config' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host MDEXHost.
    [04.30.12 16:24:58] INFO: [MDEXHost] Starting shell utility 'mkpath_local-dgraph-input'.
    [04.30.12 16:24:58] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_local-dgraph-input' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host MDEXHost.
    [04.30.12 16:24:58] INFO: [MDEXHost] Starting shell utility 'mkpath_local-cumulative-partials'.
    [04.30.12 16:24:58] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_local-cumulative-partials' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host MDEXHost.
    [04.30.12 16:24:58] INFO: [MDEXHost] Starting shell utility 'mkpath_local-dgraph-config'.
    [04.30.12 16:24:59] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_local-dgraph-config' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host MDEXHost.
    [04.30.12 16:24:59] INFO: [MDEXHost] Starting shell utility 'mkpath_local-xquery'.
    [04.30.12 16:24:59] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_local-xquery' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host MDEXHost.
    [04.30.12 16:24:59] INFO: Setting definition for component 'LogServer'.
    [04.30.12 16:24:59] INFO: [ITLHost] Starting shell utility 'mkpath_input'.
    [04.30.12 16:24:59] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_input' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    [04.30.12 16:24:59] INFO: Setting definition for script 'DailyReports'.
    [04.30.12 16:25:00] INFO: Setting definition for script 'WeeklyReports'.
    [04.30.12 16:25:00] INFO: Setting definition for script 'DailyHtmlReports'.
    [04.30.12 16:25:00] INFO: Setting definition for script 'WeeklyHtmlReports'.
    [04.30.12 16:25:01] INFO: Setting definition for component 'WeeklyReportGenerator'.
    [04.30.12 16:25:01] INFO: [ITLHost] Starting shell utility 'mkpath_input'.
    [04.30.12 16:25:01] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_input' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    [04.30.12 16:25:01] INFO: Setting definition for component 'DailyReportGenerator'.
    [04.30.12 16:25:02] INFO: [ITLHost] Starting shell utility 'mkpath_input'.
    [04.30.12 16:25:02] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_input' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    [04.30.12 16:25:02] INFO: Setting definition for component 'WeeklyHtmlReportGenerator'.
    [04.30.12 16:25:02] INFO: [ITLHost] Starting shell utility 'mkpath_input'.
    [04.30.12 16:25:02] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_input' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    [04.30.12 16:25:03] INFO: Setting definition for component 'DailyHtmlReportGenerator'.
    [04.30.12 16:25:03] INFO: [ITLHost] Starting shell utility 'mkpath_input'.
    [04.30.12 16:25:03] WARNING: Failed to create custom directory: com.endeca.soleng.eac.toolkit.exception.EacComponentControlException: Utility 'mkpath_input' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    [04.30.12 16:25:03] INFO: Definition updated.
    [04.30.12 16:25:03] INFO: Updating IAP Workbench configuration...
    [04.30.12 16:25:03] INFO: Downloading config files from Web Studio.
    [04.30.12 16:25:03] INFO: [ITLHost] Starting shell utility 'emgr_update_get_ws_settings'.
    [04.30.12 16:25:03] SEVERE: Utility 'emgr_update_get_ws_settings' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    Occurred while executing line 5 of valid BeanShell script:
    2|
    3| if (ConfigManager.isWebStudioEnabled()) {
    4| log.info("Updating IAP Workbench configuration...");
    5| ConfigManager.updateWsConfig();
    6| log.info("Finished updating IAP Workbench.");
    7| }
    8|
    [04.30.12 16:25:03] SEVERE: Caught an exception while invoking method 'run' on object 'InitialSetup'. Releasing locks.
    Caused by java.lang.reflect.InvocationTargetException
    sun.reflect.NativeMethodAccessorImpl invoke0 - null
    Caused by com.endeca.soleng.eac.toolkit.exception.AppControlException
    com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript - Error executing valid BeanShell script.
    Caused by com.endeca.soleng.eac.toolkit.exception.EacComponentControlException
    com.endeca.soleng.eac.toolkit.utility.Utility run - Utility 'emgr_update_get_ws_settings' failed. Refer to utility logs in [ENDECA_CONF]/logs/shell on host ITLHost.
    Can anyon shed any light on this?
    Thanks
    Ben

    Hello,
    It looks like you are working with the Endeca Experience Management product (previously known as InFront), rather than Endeca Information Discovery product (previously known as Latitude).
    You might have more luck posting this question on the Endeca Experience Management forum:
    Technical Questions

  • Opening a URL from a button within a Web Template

    Hi All,
    I have a requirement to provide report specific help from within a standard web template. Assuming that I had a list of help URLs for each report and an intermediary way to redirect to those URL based upon a unique id such as the reports technical name, is it possible to create a generic button from within a web template that would dynamically create a URL based on the reports technical name? I.e., http://www.example.com/page.html?ZGTRPTNME
    To date I have only used the Action "Command via Command Wizard" from within the parameters of the button Web Item. However, I did notice that a Script Function was provided. Has any used this functionality and is it possible to create a URL with the technical name of the report?

    Rekesh,
    I had a look at the document you linked however what I need to find out is how I can place the technical name (dynamically) within the web template URL (i.e., this needs to work for multiple projects over many reports that all use the same global web template).
    It's actually very easy opening a new window via javascript however finding the varible for the report technical name remains unclear. At present I am looking at command URL's. The only other option is that I use a java script substring command to pull the report technical name from the URL (although this not as clean as using command URL's).
    EDIT: Found this document: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/ef9a6c13f2025be10000000a1553f7/content.htm
    Appears that the command: sapbi_page.GetMainTemplateName(); will give me the technical name of the webtemplate although I'm finding it hard to find the command for getting the technical name of the current report.
    Edited by: Paul Thomson on Feb 18, 2010 4:00 PM

  • Close portal window ( popup ) through an button event within the wd-app

    Hello Experts,
    the scenario is as follows:
    i click on a link within the enterprise portal environment and it opens a wd application within a popup( portal window ). This application has a CANCEL button. when a user clicks on this the portal window should close. How can this be achieved ?
    I tried firing the outbound plug of type exit of the wd app main window, but it just blanks out the screen and doesn't close the window it self.
    Regards,
    Shweta

    Hi Shweta,
    as i discussed with you to update the script code
    <html><script> function closeWindow( ){       top.close( );     }                  </script><body><form> The application was logged off successfully. <br><input type="button" value="close window" onclick="closeWindow( );" /></ form></body></html>
    in sicf transaction for your component.
    it will work (close the window).
    dont forget to give me points
    all the best...
    Rgds,
    Mahesh.Gattu

  • How to find the Display Template associated with a JSP ?

    Hi All,
    We have a requirement to alter the text on few buttons and headers for a Published Site. I have modified the Seeded JSP and saved as xxseeded.jsp and deployed in $OA_HTML. Now i want to add this custom JSP to the Display Template but i don't know how to find the Display Template Associated with the Seeded JSP. So, i need to know the Programmatic access name for the Display Template which uses this Seeded JSP as Source file. Is there any where i can check?
    Thank you

    Hi,
    Use the below queries
    Use the below query to get the Template name for the associated JSP file.
    SELECT I.ACCESS_NAME, A.FILE_NAME FROM JTF.JTF_AMV_ATTACHMENTS A, APPS.JTF_AMV_ITEMS_VL I, IBE.IBE_DSP_LGL_PHYS_MAP M, IBE.IBE_MSITES_TL S WHERE A.ATTACHMENT_ID = M.ATTACHMENT_ID AND I.ITEM_ID = M.ITEM_ID AND M.MSITE_ID = S.MSITE_ID and a.FILE_NAME like 'Jsp file name here'
    Same query can be little modified to get the File name from the Template name.
    SELECT I.ACCESS_NAME, A.FILE_NAME FROM JTF.JTF_AMV_ATTACHMENTS A, APPS.JTF_AMV_ITEMS_VL I, IBE.IBE_DSP_LGL_PHYS_MAP M, IBE.IBE_MSITES_TL S
    WHERE A.ATTACHMENT_ID = M.ATTACHMENT_ID AND I.ITEM_ID = M.ITEM_ID AND M.MSITE_ID = S.MSITE_ID and I.ACCESS_NAME like ‘template name here’
    Thanks
    Pradeep
    Edited by: Pradeep Kalyan on Feb 9, 2012 9:40 PM

  • OpsCenter 12 custom script

    Dear all,
    I am using OpsCenter 12 and would like to install a Solaris 10 package, the file /etc/resolv.conf and a custom script after the OS installation.
    The OS installation does work but the rest is not done.
    In my deployment plan a have
    Install Software: Profile_Install_CSWpkgutil
    Execute Post-Install: Profile_Install_resolv.conf
    Operation cfengine_installation
    In my Job Target Details the last step CmpExecuteTask ist running for hours. I don't know if my three tasks are in that step.
    When I did "Apply Deployment Plan" I the three tasks where listed.
    Can somebody please help me?
    Best regards,
    Andreas

    Your requirement is quite sepcific so you will have to write the script for this yourself (or hire someone to do it for you). What I will say is that via vbscript and the FDM API all the components you require to do this are there and it can be scheduled with FDM's Task Manager.

  • Issue in Dreamweaver PHP pages from the PHP template

    I am learning to develop and publish a web catalog with a shopping cart feature attached. I am using PHP and MySQL as the tools to build this data driven website. However after creating the catalog list within the PHP template and needing the list as the menu within the sidebar of the webpages, the catalog list shows in the PHP template in Dreamweaver. But once I try to create a sub page from the PHP template, the list and all the contents does not show in the preview. After much checks, there is a issue with the sidebar class of the div, the issue is that a message shows that "Any content that does not fit in a fixed-width or -height box causes the box to expand to fit the content rather than letting the content overflow." I have tried to put the overflow:auto or overflow:hidden but to no success. How can get the catalog list to show without manually entering the over 50 categories that is already entered in the MySQL database? The template uses the 2 column fixed, sidebar, header and footer layout.

    It's a little hard to understand your question and its context. Can you please upload this page and give us a link so we can see what you are describing?

  • Spawn a new PDF using Java Script within LC Designer

    I am trying to spawn a new PDF file to be created from an existing PDF using Java Script within the LC designer
    I have this example but I can't get it to work
    function createPdf()
        pdf = pdf$();
        pdf.addText('Hello World');
        pdf.writeToFile('c:/temp/hello_world.pdf');
        window.open('file://c:/temp/hello_world.pdf');
    Is it possible to create a PDF like this within LC Designer?

    Hi
    I would like to see if it was possible.  I thought it would be easy, as
    there is a standard batch processing sequence (Print 1st page of all) using
    Java that comes with Acrobat 7.  This allows you to print the first page of
    a number of files that you select when the sequence is run.  Its code is:
    /* Print 1st Page */
    /* This sequence prints the first page of
       each document selected to the default printer.
    this.print
    To my uninformed mind it seemed logical that the same code, slightly
    modified to print all pages, should work from within a form.
    Anyway, if there is a way to choose individual files, I would appreciate
    that.
    Thanks
    Rob

  • What is needed to run the deployment utility while not logged into Windows?

    I am running a bash script to perform nightly builds of our test s/w. This script calls the deployment utility via command line. The actual command I am using is:
    /cygdrive/c/Program\ Files/National\ Instruments/TestStand\ 4.1.1/Components/Tools/Deployment\ Utility/DeploymentUtility -- build "C:\Sandbox\ATE\Production_Test_Projects\eHLC_RX\Deployment\Unified_eHLC_RX_Test_Deployment_Config.tsd"
    It works flawlessly as long as I am logged into the PC. I have a cron job running to invoke my main script on a daily basis. As soon as I log out of the PC is when I am having the trouble. The script does get started but when looking at the processes on the PC I see my bash sessions open as well as the deployment utility open but it is not doing anything. If I end the deployment utility process the bash script continues and exits normally. Is there something I have to put in the command line to make the deployment utility work if I am not logged in? I have the cron running as a service and it is using my username and pw when required. But the deployment utility just hangs and does nothing. The deployment utility log is blank so it was basically opened but did not perform the build. Any ideas as to what may be causing this? Thanks in advance for any help.
    Troy

    Here is a little more information. I changed the service that is running my script which is calling the Deployment Utility via command line from This Account on the Log On tab which requires my username and password to Local System Account and checked Allow Service to Interact with Desktop. This time when I was logged out of the PC and the script started I logged back on and could see the message that was thrown when the Deployment Utility was initialized. I could not see this with the service set to the other parameter because it is running in the back ground. I am sure this is what is happening because in this state I check the processes on the PC and it is reflecting the same information. The memory usage is the same and the Deployment Utility is doing nothing obviously waiting for acknowledgement of this error. If I click OK the build does start but at the end I get all types of debug messages at the end which do not happen when I am logged in and this process completes. Does anyone have any idea what this error message is referring to and maybe how to fix it?
    Thanks again for any help.
    Attachments:
    Startup_Error.JPG ‏80 KB

  • Embedding DMS Documents within CG42 Report Template

    Hi All,
    We are using EH&S and DMS and would like to combine these two into a CG42 report template.  Through CG02, we have created specifications where we would like to have some value assignments instances take advantage of the user-defined text tab to pull in documents from DMS.  We have configured the system to successfully link in the DMS document info record into the user-defined tab within the value assignment area of CG02 and can view the DMS documents by double clicking on that reference.
    In taking this to the next step, we would like to embed this document into our report template definition.  Mind you that some of these documents are .pdf containing text and graphics.  Within CG42, we go to the specification symbol that we want and open the area called ADDITIONAL INFO, which then opens to other symbols, one of which is "ESTDF Additional Information - User-Defined Text".   When we open that node, it provides us with many attributes as options that we can embed within the report template.  The only one that relates to content is "GESTDHEADE HEADER Start of UD Text ".  It appears that all this does is just repeat the link that was specified in CG0 when we use the command to include that in the report template and then do a preview on the report.
    In reading some SAP Help Documentation in the section for user-defined text, I'm led to believe that you can embed these into the report template but I have not been able to do so thus far.  The only thing I can do is embed information about the user-defined text into the report template.
    Can someone shed some light if this is feasible?
    By the way, we are already embedding graphic logos by relating it to a phrase and keeping these images in a folder on a file server.  If we must, we can use that approach but I'd really lile to keep these documents in DMS as a controlled document.
    Thanks!

    Hello
    please consult online help. Take a look here:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/a7/2872ac0a6c11d28a220000e829fbbd/content.htm
    Chapter: Symbol Type: Specification
    Subchapter: Output of Document Management Documents
    The description is ok and in my opinion a good starting point.
    Hope this helps.
    C.B.
    PS: http://help.sap.com/saphelp_erp60_sp/helpdata/en/a7/286d780a6c11d28a220000e829fbbd/content.htm is helpful too.
    Chapter: User-Defined Texts and Documents
    Edited by: Christoph Bergemann on Nov 26, 2011 5:12 PM

  • Finders in the deployment tool

    Hi!
    I'm trying to figure out how to write custom finders in the deployment tool.
    But I've run into two problems:
    1. Can I define my own PrimaryKey class that I use to identify the bean and
    how do I configure it in the deployment tool?
    - e.g. findByPrimaryKey(CustomPK pk)
    - Do I need to configure anyhing in the LightWeightCMP tab in the
    deployment tool or is it enough that I give the PrimaryKey class name in the
    General tab?
    2. How do I configure the findAll method in the deployment tool?
    - Is it sufficient that I provide the following information:
    - Name: findAllSQL
    - Type: java.lang.String
    - Value: SELECT C_ID FROM TBL_PARTNER
    Thanks in advance for any help I can get!

    the tab is for the user to fill in the entries of all the EJBs referenced by the module that is selected in the left side tree.
    thus, when you select the client jar, it will show you the EJBs that the client references (as per the deployment descriptor). Likewise for EJBs.
    for simple bmp example, the ejb-jar.xml file does not contain any entries of the type <ejb-ref> where as, the application-client.xml (DD for the client) does.
    the same logic applies to cmpcustomer example.
    hope this helps.

Maybe you are looking for