AnyGantt Custom XML Apex 4.2.2

Hi guys,
Sorry to create a new post on this, but I'm having trouble following some of the previously posted solutions.
I'd like to use the AnyGantt Project chart but dynamically build the <project_chart> <tasks> tags so that I can leverage some of the additional feature of AnyGantt such as connectors etc, and generally control the display a little more.  I've read a few posts about max 32 byte issues, however i thought i'd take tiny steps and see if i can build a simple output with 2 rows initially to ensure i can get Apex building the chart dynamically.
I've followed the post Dynamic custom XML in resource gantt and found this extremely helpful, especially the links to the demo site Hilary has created http://apex.oracle.com/pls/apex/f?p=36648:60
I've used this example to build my PL/SQL block which dynamically builds tags for me and I've tested this in SQL Developer and i know I'm getting the following tags :
<project_chart>
  <tasks>
    <task id="161" name="Prep" actual_start="2013.01.01" actual_end="2013.01.07" />
    <task id="162" name="Workshop" actual_start="2013.01.07" actual_end="2013.01.14" />
  </tasks>
</project_chart>
I understand the section in this example that explains how to replace the #DATA# string in the Custom XML region of the chart with a page item of &P23_DATA for example (P23_DATA is defined as a hidden item in the chart region), i've defined my PL/SQL block as an Application Process.....
.....however I'm having trouble understanding how this now links all together, in the example from Hilary the following steps are mentioned but i'm confused exactly where in my page is define them :
3. Edit the Chart Page to include the following JavaScript function, calling the On Demand process:
function getdata() {
var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=CHART_DATA',0);
gReturn = get.get('XML');
get = null;
and finally
8. To call the JavaScript function and ensure asychronous updates are
picked up, the region source has been updated to replace #CHART_REFRESH# with
the following:
<script type="text/javascript" language="javascript">
var chartName = '#CHART_NAME#';
chartName = chartName.substring(1);
getdata();
function chart_r#CHART_NAME#_InitRefresh(pNow) {
  setTimeout("chart_r#CHART_NAME#_InitRefresh(true)",10000);
  if (pNow){apex_RefreshFlashChart (60, chartName, 'en-us');
  getdata();}
apex_SWFFormFix('#CHART_NAME#');
addLoadEvent(chart_r#CHART_NAME#_InitRefresh(false))
</script>
Thanks in advance guys
Glen

So I've managed to take a small step forward....and realised my last effort with using collections was a little bit of a waste of time.
I've gone back to reading the details posted by Hilary in Dynamic custom XML in resource gantt and using the sample pages supplied in the link http://apex.oracle.com/pls/apex/f?p=36648:60
Anyway I've managed to get my page to render an AnyGantt Gantt Project using the dynamic XML I've generated via PL/SQL, this is nice as I've been able to now build XML that allows me to take advantage of the <connectors> tag to links tasks together via a hierarchy of prerequisites.
Here is what I've done to date by using the examples supplied by Hilary.
Under 'Shared Components' and 'Logic' i have created an 'Application Processes' called CHART_DATA which holds the PL/SQL code that will generate my XML from the <project_chart> tag down. (Thanks Hilary for the code)
I then created a new page using the chart region and used my original SELECT statement.
Once the page was created, i added a Hidden Page Item to the Gantt region which was defined as P23_DATA.
I then added a 'AJAX Callbacks' under the 'Page Processing' section, this was defined as a 'Run on Demand Process', called CHART_DATA and pointed to the application process previously created called CHART_DATA.
I opened the Gantt region for editing and within the 'Chart Attributes' i selected to delete the Series that the wizard had previous defined when creating the Gantt originally.
Under the 'Chart XML' section is changed the 'Use Custom XML' to 'Yes' and edited the 'Custom XML' region, again by using the examples supplied by Hilary i removed the #DATA# and replaced it with my new hidden page item &P23_DATA. (please note the syntax includes an ampersand and a period at the end of the item name)
Now for the bit that i don't really understand....
Back to the main edit page screen, under the 'Page Rendering' section choose to edit the actual page and under the section 'JavaScript' there is a section labelled 'Function and Global Variable Declaration' which i sort of understand as a section to hold custom JavaScript code for function etc.  I added the function previously supplied by Hilary
function getdata() {
var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=CHART_DATA',0);
gReturn = get.get('XML');
get = null;
Under the section beneath this labelled 'Execute when Page Loads', i supplied add a call to the above mentioned function.
getdata();
So this kind of works for me at the moment, however when the data changes in the base table which holds the tasks i need to close the page and reload multiple times for the data to be refreshed.  This is the section in the example from Hilary i'm still having a little trouble with, the example page Hilary supplied mentioned the following :
8. To call the JavaScript function and ensure asychronous updates are
picked up, the region source has been updated to replace #CHART_REFRESH# with
the following:
<script type="text/javascript" language="javascript">
var chartName = '#CHART_NAME#';
chartName = chartName.substring(1);
getdata();
function chart_r#CHART_NAME#_InitRefresh(pNow) {
  setTimeout("chart_r#CHART_NAME#_InitRefresh(true)",10000);
  if (pNow){apex_RefreshFlashChart (60, chartName, 'en-us');
  getdata();}
apex_SWFFormFix('#CHART_NAME#');
addLoadEvent(chart_r#CHART_NAME#_InitRefresh(false))
</script>
However i can't actually find on my page where this might live, i'm guessing somewhere in the Gantt region itself however maybe the pages have changed since Hilary originally wrote this.
Thanks
Glen

Similar Messages

  • How to pass apex item value into custom xml for chart or guage?

    Re-opening the old thread : Re: How to pass apex item value into custom xml for chart or guage?
    Which was not answered.
    Roel - Thanks. Its working - but in a semi quotes in the custom XML
    <pointers>
    <pointer value= '&P5_RUNNING_TOTAL.'
    <label enabled="true">
    <position placement_mode="ByPoint" x="50" y="15" />
    <format>{%Value}{numDecimals:1}</format>
    <background enabled="false" />
    </label>
    </pointer>
    </pointers>This question was helpful for us to resolving one recent thread : AnyChart - set Dial axis intervals dynamically?
    (Re: AnyChart - set Dial axis intervals dynamically?
    Edited by: P.Ranish on Dec 13, 2012 6:23 AM

    P.Ranish wrote:
    Is there any update for this question ???
    Edited by: P.Ranish on Dec 13, 2012 3:36 AMNo, And there won't be in the future.
    Please stop posting followup's to old threads, if you have a real problem please search the forum first and post a new question with all information
    Roel wrote:
    Try using &P5_RUNNING_TOTAL. or #P5_RUNNING_TOTAL#Just to make it clear - this will only work if page is reloaded after setting the item values dynamically via AJAX

  • Apex Charts custom XML integration

    Hi All,
    I found a chart in Anycharts.com and downloaded its XML.I wanted to integrate this chart with apex. But the XML,which i downloaded uses data from a .csv file. How to integrate this XML with apex. I found we can edit the default XML in the chart generated by. But How does XML take the values from the query which we write. There is only #DATA# at the end of the chart generated by apex and no clue on how and in what format this Data comes.
    Please help me out.
    Thanks,
    Ajay

    Ajay -
    Others may be able to explain this process better than I but I'll give it my best.
    The #DATA# tag that you see in the default custom xml for a chart is a substitution string. When your page is rendered, APEX runs the queries associated with your chart and then creates XML based on the chart type of the series. Next, it takes this XML that it generated and puts it in the chart custom XML where that #DATA# tag is located.
    There are other ways to get custom data into your chart. You can create the XML yourself in a page item and then insert the contents of that page item into the custom XML of the chart. This can be an advanced topic, but it really isn't too bad once you get the hang of it. The following link contains some pretty good examples of the things you can do. It even shows you how to format your SQL to obtain similar results. Custom XML generation is in the MISC tab. http://apex.oracle.com/pls/apex/f?p=36648:1:2979429292819853::NO I am not responsible for putting this page together, another forum member is, and perhaps they will chime in.
    Hope this helps
    Austin

  • Setting Custom XML = Yes in resource gantt chart removes start & end dates

    I'm having a strange issue with a Resource Gantt chart in Apex 4.0.2.
    I built the chart using the Wizard and changed nothing from the defaults. Everything looks/acts fine on the chart when Use Custom XML = No. But I wanted to change a couple things like cell alignment and width, so I set this to Yes and modified the column attributes in the XML code. After doing so, when running the report, the values for Start Date and End Date are not showing. This is happening in both the datagrid and the tooltips, but the timeline is still showing the right information (ie a bar from start to end), so I know it still knows what the correct start and end dates are.
    Thinking I accidentally messed something up, I deleted the chart and recreated it (again, from the wizard). This time, I went back and only set Use Custom XML = Yes but did not change anything within the XML code itself. To my surprise, the dates were still missing. If I set it back to No then they reappear.
    Has anyone seen this before and/or know a way to fix it?
    Thanks,
    ~ John

    Hej John,
    APEX itself is using a field substitution "&DATE_FORMAT." to insert the date format into the XML file. This field substituion is used in may location in the default XML. APEX standard action is to substitute it with the value specified in the Gantt Setting "Date Format". This substitution takes place many places in the default XML file.
    Enabling custum XLM also means disabling APEX XML handling, the substitution does not take place, the "&DATE_FORMAT." contains in this case a null value.
    The default XML file, which can be viewed in apex developer mode, looks like:
    Start Date: {%ActualStart}{dateTimeFormat:&DATE_FORMAT.}
    The runtime XML, which can be viewed in debug mode, contains something like:
    Start Date: {2011.07.21 00:00:00}{dateTimeFormat:}
    ...a null value is not a valid AnaGantt date format.
    Two solutions:
    a) insert a correct AnyGannt date formatter in the custom XML like
    Start Date: {%ActualStart}{dateTimeFormat%YYYY.%MM.%dd %HH:%mm:%SS}
    or
    b) create a field DATE_FORMAT on page containg the chart and intialize it with the AnyGantt date formatter like %YYYY.%MM.%dd %HH:%mm:%SS".
    When running the page the substitution will take place usually.
    Regards,
    Benny

  • Substitution in Custom XML section of a chart

    Hello,
    I am trying to do a substitution inside of "Custom XML" section of a "Resource Gantt" chart using &P5_GANTT_XML. (dot at the end - thanks fac586)
    The substitution doesn't work! In the "Show XML" I can see null instead of expected value.
    Seems this substitution is working in this demo http://apex.oracle.com/pls/apex/f?p=36648:60:3572101667083478::NO:::
    Any idea?
    Regards,
    Gabriel
    DB: 11.2.0.1.0 EE
    Apex: 4.0.2
    Server: Solaris 10 Sparc
    Client: XP SP3
    Browser: Firefox 3.6.13
    Flash player: updated to latest version
    Edited by: gabosu on Jan 5, 2011 11:07 AM
    Edited by: gabosu on Jan 5, 2011 11:10 AM

    In the thread
    Re: Page item value in Flash chart XML
    dated NOV-2007
    Patrick Wolf wrote:
    there seems to be something strange going on with the substitution of page items in the Custom XML. I already noticed that several weeks ago, but didn't pay much attention to the problem.
    Have a look at the following application at http://apex.oracle.com/pls/otn/f?p=15535:5
    username: demo
    pwd: patricks_demo_workspace
    It has a page item P5_TEST with a static assignment of "this is a x label". Everywhere where I reference it with &P5_TEST. or :P5_TEST during the rendering of the page the correct value is substituted as you can see on the example page.
    Only the flash charts seems to use a NULL value! I have done a
    ...x_axis name="before-&P5_TEST.-after" smart="yes"... in the Custom XML.
    Why is there this different behavior of substitution? Or do I miss something?
    I made the same behavior - the substitution is triggering somehow but the result is NULL.
    Example:
    into Custom XML
    <test>start-&P5_GANTT_XML.-end</test>
    is returning
    <test>start--end</test>
    and
    in the same time &P5_GANTT_XML. is working fine into the title of the region.
    Edited by: gabosu on Jan 5, 2011 12:21 PM

  • Dynamic custom XML in resource gantt

    Hi all,
    I want to create a Ressource Gantt Chart based on a dynamic XML - Source.
    Here is what I have done so far:
    1. Create a Table GANTT_INFO:
    CREATE TABLE GANTT_INFO
    EMP_ID NUMBER,
    TASK VARCHAR2(255 BYTE),
    PARENT_ID NUMBER,
    START_DATE DATE,
    END_DATE DATE,
    STATUS NUMBER,
    ACTIVITY VARCHAR2(80 BYTE)
    2. Insert some values into the table GANTT_INFO
    3. Create a new region based on <chart><flash chart><gant><resource gantt> with the following SQL - Query
    SELECT NULL LINK,
    EMP_ID,
    TASK,
    PARENT_ID,
    START_DATE,
    END_DATE
    FROM GANTT_INFO
    order by emp_id
    4. Copy static XML - Source in the Chart XML as custom XML
    Now I want to generate this XML - Source dynamicly using a DB - Procedure called by a Application Process and link the result into the Chart XML as custom XML.
    Is there a possibility?
    You can see the example here:
    http://apex.oracle.com/pls/apex/f?p=35902:1
    User: demo
    Pwd: demo
    Thanks.

    Hi fiedlerm,
    If you carry out a search on the forum on the topic of handling CLOBs, you'll see that many others have posted about this topic. For example, this particular thread - Returning a Clob to an Application Item - refers to my late colleague, Carl Backstrom's extremely useful packaged application, which demonstrates the use of AJAX to save & edit over 32k of text in a textarea, called "Save Large Value" on our Packaged Applications page on OTN: http://www.oracle.com/technetwork/developer-tools/apex/application-express/packaged-apps-090453.html#LARGE. Carl's example can be modified to make use of my previously suggested On Demand process, for the generation of your chart data. In the process you would need to create a collection called CLOB_CONTENT, and add the data clob to that collection, and also remove the setting of the textarea page item from the end of that process. The clob_Get() JavaScript function in Carl's example would then retrieve that clob value from the collection. Currently that value is being returned to the P3_TEXTAREA item on pg 3 of the application, however you could modify this to suit your needs and reference your own existing page items. Your chart custom XML will reference the textarea page item now holding the data retrieved via the clob_Get() call, and your data will be displayed on your chart.
    I recommend downloading & installing the "Save Large Value" example, and try modifying that to suit your needs. I hope this helps.
    Regards,
    Hilary

  • Custom XML IP PHONE text on "Your current options" and softphone button on

    Custom XML IP PHONE text on "Your current options" and softphone button on call manager 7.0 call manager 7.0 ?

    Hello, Please try this link
    http://www.cisco.com/en/US/docs/voice_ip_comm/cuipph/7906g_7911g/5_0/sip/english/administration/guide/11ag50si.pdf

  • How to create new Custom XML Report without using Form Builder

    Hi,
    What are the steps to create new Custom XML Report without using Report Builder ?
    Thanks and Regards,
    Abhi

    Hi,
    Steps we now follow
    1)Create Data Model in Reports Builder
    2)Create xml
    3)Insert xml in Publisher to build Fomat
    4)FTp rdf
    5)Create Data Definition and Template
    6)Create executable and Concurrent Program
    Is there any way we can build reports without use of Report Builder ? By writing PL SQL Package for Before Report and After Report etc ...
    Thanks and Regards,
    Abhijit Rode

  • Custom XML Publisher Reports in EBS 11.5.10.2 Fails Randomly

    Hi Experts,
    I have a Custom XML PUblisher Report Concurrent Program in EBS 11.5.10.2.
    The Report fails randomly with a Warning. I get the following error,
    [11/21/08 12:17:21 PM] [UNEXPECTED] [915997:RT3085490] java.io.FileNotFoundException: /u01/PROD/prodcomn/admin/out/PROD_irl-dub-finmdt-01/o3085490.out (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:229)
    at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    As you can the OPP fails to find the o3085490.out file in the $APPLCSF/$APPLOUT directory and actually the file is not there in the unix box on that location.
    If the same report is submitted again it Works fine, But not at all times.. some of them fails with the above error message.
    Any pointers to solve this one.
    Regards

    Hi,
    We are on Multi-node set up with two middle-tiers with a load balancing option Yes.
    The XML Publisher Version is 5.6.0. Is it required to move to 5.6.3 ?
    Please find a detailed explaination of the issue.
    Issue
    XML Publisher Reports Fails Randomly in Production
    Detailed Explaination
    XML Publisher Reports submitted in Production completes with Warning. You can say 1 out of 4 requests submitted in a sequence will fail.
    The Log message of the COncurent Program is something like this,
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 3091786 on node IRL-DUB-FINMDT-01 at 23-NOV-2008 15:36:58.
    Post-processing of request 3091786 failed at 23-NOV-2008 15:36:58 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Checking the Output Post Processor Log gives the following message
    [11/23/08 6:25:01 PM] [UNEXPECTED] [925353:RT3092523] java.io.FileNotFoundException: /u01/PROD/prodcomn/admin/out/PROD_irl-dub-finmdt-01/o3092523.out (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:229)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:153)
    Its evident from the message the output file for the request is not generated.
    Some Findings to pass on to Version 1
    1. Report in not picked up for execution in this case as even the first statement is not executed and there is no oracle session and os process asscociated with it.
    I enabled trace and the trace was generated only for the successful ones and it was never generated for the ones completed with warning.
    2. The below query gives no values for the failed concurrent request, where as all successful ones have valid values.
    SELECT oracle_process_id,oracle_session_id,os_process_id
    FROM fnd_concurrent_requests
    WHERE request_id = 3091786
    Regards

  • Crystal Report 2008 SP2 & InfoView: Custom XML Export doesnt work

    Hi,
    I have created a Crystal Report .rpt and want to use the custom xml export function to output a custom xml file. For that, I created a custom transformation file (xsl) and imported it into the .rpt . On the client machine, if I open the .rpt with Crystal Reports 2008 SP2, and select to export it using the custom xml output, all runs fine. (under SP1, only half the file was created...)
    If I upload the .rpt file to Infoview (server-side: BO Enterprise 3.1, SP2 as well) and schedule it, I can select xml, and then my custom xml as output format, but I am getting the error message u201EUngültige Exportoptionen" (="invalid export options"), in the instance history. No output file is created. I use file system as destination. Other output formats like .pdf and .rpt work fine and files are created.
    Ideas:
    -Are there any more settings needed on the server (e.g.CMC - Crystal Server Jobs, other Processes, ...) so I can schedule the report and successfully create the custom xml format file as output?
    -Do I need to upgrade to a specific SP or FP on server-side so everything runs smooth?
    Thanks for your help!

    Hi Florian,
    I'm having the same problem, have you by any chance found a solution?
    Gajus.

  • Not able to generate AS2 MDN when receiving custom XML via AS2

    Hi friends,
    I have setup the trading partner and the corresponding TP certificate import for receiving the custom XML via AS2 channel.
    I am receiving the custom xml properly to oracle b2b and able to receive the same to bpel as well. however in the oracle b2b console under reports tab i am seeing only one record for inbound document receive and i am not seeing the other record for the AS2 MDN going back to vendor. I have setup the AS2 channel under the external trading partner --> Channel using the vendor AS2 URL and selected all the security parameters while creating the Outbound AS2 channel.
    1. Not able to generate AS2 MDN when receiving custom XML via AS2.
    2. eventhough i am able to decrypt the inbound custom XML and ablr to recieve it in bpel also for processing, in the reports tab the inbound message state is changing to MSG_ERROR and it has the folloing error message:
    Error Code
    B2B-50037
    Error Description
    Machine Info: (***********)  Description: B2B inbound message processing error
    Error Level
    ERROR_LEVEL_COLLABORATION
    for AS2 MDN generation for custom XML receiving using As2 protocol, do we need to setup anything other than the outbound As2 Channel using the external vendor AS2 URL?
    Can you please help me how can i generate the AS2 MDN for the inbound custom XML document i have received and also why the inbound message is failing even though i am receiving the custom XML properly to bpel?
    Thanks,
    Amirineni.

    Hi Prasanna,
    Vendor has enabled the ACK mode as SYNC.
    Below are the headers for the inbound message to B2B. and we are able to receive the input message to bpel also.
    Protocol Transport Binding
    ChannelName=******** AS2-To=****AS2 TE=trailers, deflate, gzip, compress Date=Thu, 02 Oct 2014 14:26:31 GMT AS2-Version=1.2 Accept-Encoding=deflate, gzip, x-gzip, compress, x-compress AS2-From=****AS2 Disposition-Notification-Options=signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, sha1 Disposition-Notification-To=https://******/as2 Message-ID=<CLEO-20141002_142630452-31X54N@****_*****AS2.pcwbedi1-O> Content-type=application/pkcs7-mime; smime-type=enveloped-data; name=smime.p7m Content-length=747006 MSG_RECEIVED_TIME=Thu Oct 02 10:26:39 EDT 2014 Subject=EDI ECID-Context=1.005175bK7U^AXNJCAnf9Cx0002pW000yjX;kXjE1ZDLIPGIj2QCYV8QoKSSILRO_PQT_IS Proxy-Client-IP=****** Recipient-Address=https://******/b2b/httpReceiver User-Agent=RPT-HTTPClient/0.3-3I (Windows 2003) X-Forwarded-For=****** Content-Disposition=attachment; filename="smime.p7m" Host=****** EDIINT-Features=CEM, multiple-attachments, AS2-Reliability Connection=Keep-Alive X-WebLogic-KeepAliveSecs=30 X-WebLogic-Force-JVMID=-1497702782 From=****** Mime-Version=1.0
    Message Digest
    Message Digest
    Digest Algorithm
    sha1
    Transport Protocol
    HTTP
    Transport Protocol Version
    1.0
    Url
    http://******
    security
    Transport Headers
    ChannelName=****** AS2-To=******AS2 TE=trailers, deflate, gzip, compress Date=Thu, 02 Oct 2014 14:26:31 GMT AS2-Version=1.2 Accept-Encoding=deflate, gzip, x-gzip, compress, x-compress AS2-From=****AS2 Disposition-Notification-Options=signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, sha1 Disposition-Notification-To=https://******/as2 Message-ID=<CLEO-20141002_142630452-31X54N@****AS2_*****AS2.pcwbedi1-O> Content-type=application/pkcs7-mime; smime-type=enveloped-data; name=smime.p7m Content-length=747006 MSG_RECEIVED_TIME=Thu Oct 02 10:26:39 EDT 2014 Subject=EDI ECID-Context=1.005175bK7U^AXNJCAnf9Cx0002pW000yjX;kXjE1ZDLIPGIj2QCYV8QoKSSILRO_PQT_IS Proxy-Client-IP=***** Recipient-Address=*******/b2b/httpReceiver User-Agent=RPT-HTTPClient/0.3-3I (Windows 2003) X-Forwarded-For=******* Content-Disposition=attachment; filename="smime.p7m" Host=***** EDIINT-Features=CEM, multiple-attachments, AS2-Reliability Connection=Keep-Alive X-WebLogic-KeepAliveSecs=30 X-WebLogic-Force-JVMID=-1497702782 From=***** Mime-Version=1.0
    Thanks,
    Amirineni

  • Changing xwork-community-custom.xml file in Forums Application

    Hi,
    could someone give me details on how to customize the file xwork-community-custom.xml, to override actions defined in xwork-community.xml?
    My problem in detail:
    I want to delete the "My questions" area in profile view, because we don´t have a "question scenario" in our company.
    As it is no jsp file, that i can directly change, but a ftl file that is included in the forums.jar file I want to override the actions "profile" and "edit-profile", which are included in xwork-community.xml, so that I dont´t have to change the jar file directly . The file now looks like that:
    <xwork>
        <package name="custom-actions" extends="webwork-default">
         <action name="profile" class="com.jivesoftware.profiles.action.ViewProfile">
                <result name="success" type="freemarker">myfile.ftl</result>
            </action>
            <action name="edit-profile" class="com.jivesoftware.profiles.action.EditProfile">
                <result name="cancel" type="redirect">profile.jspa?editMode=true&amp;userID=${targetUser.ID}</result>
                <result name="input" type="freemarker">myfile.ftl</result>
                <result name="success" type="redirect">profile.jspa?editMode=true&amp;userID=${targetUser.ID}</result>
            </action>
        </package>
    </xwork>
    For that I copied this two actions in "xwork-community-custom.xml" and now want to change the value for e.g.
    "/templates folder.
    What do I have to write in the xml to reference to this file? In jive forum s.o. wrote to write only the the file name as reference and that this has the effect that ftl file fromtheme folder is taken, but that didn´t work.
    I tried nearly everything but it has no effect. I also restarted server etc.
    Every other change was no problem, and even if i place a ftl file in themes folder which has the same name as as JSP file the framework tries to render the ftl file, but in the other case no chance.
    Could someone please give a tip, how i can do my changes?
    Many thanks
    Best regards
    Alex

    for all who want to get a little bit deeper in Jive application, than configuring things with admin console....solution was the following:
    - look for ftl file in xwork-community.xml file, which is responsible for the specific action (in my case cp-tabs.ftl)
    - look for the path of the original ftl file in jiveforums-<version>.jar
    - extract ftl file you want to modify and do your changes
    - have a look into ..../com.sap.netweaver.coll.forums/servlet_jsp/forums/root/template if the path specified in jar file already exists (normally not). If not create folder structure. In my case I had to create forums/include
    - put the customized file into the new folder
    - restart application server
    --> "my questions" area in profile is gone
    Regards
    Alex

  • Cross references in custom XML

    Hello!
    We have a custom XML schema and a structured application that allows us to edit our XML documents in FM. The schema contains a definition for a cross reference element and a definition for a target element.
    =============================================================
    Example:
    A cross reference element (say, documentA.xml contains this element): <cref target="documentB.xml#sect123"/>.
    A target element (say, documentB.xml contains this element): <section id="sect123"/>.
    Also I have a book in FM that includes both documentA.xml and documentB.xml.
    =============================================================
    FM outputs error messages when I try to save documentA.xml.
    So, I have few questions concerning this issue.
    How should I describe the cref element in EDD?
    A manual says, that the @target attribute must be of the IDREF type. Sounds good but the # char is restricted for IDREF values. How can I resolve this contradiction? If I write <cref target="sect123"/> (target id without filename) FM outputs error messages when I open documentA.xml in FM.
    Thank you!

    Dear Russ,
    Thank you very much for the answer. I'm sorry for my replying you with a delay,
    To make long story short, now it's OK: we can load a document with cross references to FM as well as we can save it form FM. Thank you once more.
    I'd like to make some comments that might be useful for other readers of this forum.
    As far as I understand the Structure Developers Guide mostly describes import/export transformations between an XML format and the FM format. But we never convert XML files to FM files and vice versa in our application. We open an XML file in FrameMaker, we edit the XML file in FrameMaker, and finally we save the XML file from FrameMaker. So, while reading the Guide I had a permanent doubt if import/export is the case I deal with.
    After several probes and attempts we found out that the following format of cross reference is appropriate for our application:
    <xref srcfile="fm-properties.xml#sys_psnt_part_number" format="CrossReference"/>
    (We found this type of cross references on page 399 of the Guide).
    The xref element must have an attribute of the IDREF type defined in a schema and in an EDD even while we don't use it. This attribute may actually be omitted in an XML file but we had to define it for xref.
    The root element of a target XML document must have an attribute of the ID type even while we don't use it.

  • Email Alert Template Issue - List Alerts (Alert Me) emails not using customized XML alert template

    We have recently customized the XML alerts template (AlertTemplates.xml) for our site collection in SharePoint 2010 to exclude specific fields in the email when users who have subscribed using the "Alert Me" feature. We have renamed the
    custom alerts XML file and loaded the custom template in the following directory (%ProgramFiles%\Common Files\Microsoft Shared\Web server extensions\14\TEMPLATE\XML) and restarted IIS.  Once users subscribe to the alerts using the list "alert me"
    function they received the customized email as intended.
    We needed to auto-subscribe users to the email alerts so what we did was use a powershell script to add users to the alert subscriptions using the script shown below:
    Import-Csv D:\Temp\filename.csv | ForEach-Object{
    $webUrl=$_.WebUrl
    $listTitle=$_.List
    $alertTitle=$_.AlertTitle
    $subscribedUser=$_.SubscribedUser
    $alertType=$_.AlertType
    $deliveryChannel=$_.DeliveryChannel
    $eventType=$_.EventType
    $frequency=$_.Frequency
    $oldAlertID=$_.ID
    $web=Get-SPWeb $webUrl
    $testAlert = $web.Alerts | WHERE { $_.ID -eq $oldAlertID }
    IF ($testAlert) {
    $web.Alerts.Delete([GUID]$oldAlertID)
    Write-Host Old alert $oldAlertID deleted. -Foregroundcolor Cyan
    $list=$web.Lists.TryGetList($listTitle)
    $user = $web.EnsureUser($subscribedUser)
    $newAlert = $user.Alerts.Add()
    $newAlert.Title = $alertTitle
    $newAlert.AlertType=[Microsoft.SharePoint.SPAlertType]::$alertType
    $newAlert.List = $list
    $newAlert.DeliveryChannels = [Microsoft.SharePoint.SPAlertDeliveryChannels]::$deliveryChannel
    $newAlert.EventType = [Microsoft.SharePoint.SPEventType]::$eventType
    $newAlert.AlertFrequency = [Microsoft.SharePoint.SPAlertFrequency]::$frequency
    if($frequency -ne "Immediate"){
    $AlertTime=$_.AlertTime
    $newAlert.AlertTime=$AlertTime
    $newAlert.Update()
    Write-Host Created $newAlert.Title for $subscribedUser . -Foregroundcolor Cyan
    } ELSE {
    Write-Host Alert $alertTitle for $subscribedUser already done. Moving on. -Foregroundcolor Magenta
    When we ran the script and added the users and restarted the service, all users who were auto-subscribed via this method get the email without the customizations that were done in teh custom alert template.  All users who manually subscribed on their
    own to the list using the "Alert Me" function would get the customized email.
    Does anyone know why users who manually subscribe to the alerts get the customized email, and users who were auto-subscribed using the powershell script do not get the customized email and get the standard generic email template?

    Hi  ,
    According to your code, it create a new alert using SPUser.Alerts.Add() method. For this method, it will create a new alert based on the predefined alert template by default.
    If you only assigned the custom alert template to the list, users who manually subscribe to the alerts get the customized email, but users who were auto-subscribed using the PowerShell script get the standard
    generic email template.
    For your issue, you can set the new alert ‘s alert template:
    http://social.technet.microsoft.com/Forums/en-US/1b19c12f-fc37-48cf-8b59-6c09f095dc23/custom-alert-email-templates-issue-list-alerts-emails-not-using-customized-xml-alert-template?forum=sharepointgeneralprevious
    Here is a good blog you can have a look:
    http://blogs.msdn.com/b/sharepointdeveloperdocs/archive/2007/12/07/customizing-alert-notifications-and-alert-templates-in-windows-sharepoint-services-3-0.aspx
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

  • PO custom XML report output shows junk characters

    Hi,
    One of our PO custom XML report's output(pdf) shows junk characters. when these junk characters are copied to any text editor, it shows correct text characters.
    Below are our environment  details:
    RDBMS: 10.2.0.
    Oracle E-Business suite: 12.0.6
    OS: Oracle Sun 10
    This is a clone system and the issue started after cloning
    Please suggest.
    Thank you.

    Hi,
    I would appreciate if any one has any suggestion on this issue.
    Thank You,
    Mohammed

Maybe you are looking for

  • Project files open in read-only mode

    project files open in read-only mode in ms project 2013.But in the case of MS Project 2007 it opens in READ\WRITE mode .what should i do so that project will opens in READ\WRITE mode by default in MS Project 2013

  • Wrt310n wireless connection disappears

    All, I recently bought wrt310n. I wanted a GB switch and N wireless. Consistently, the wireless signal will stop (disappear) then reappear, maybe. It's very sporadic and I've done about everything I know to do to stop it. It's not interference or set

  • Using 'Play, Pause, Forward, Backward' buttons on keyboard with iTunes

    Hey - Second question for day (Third actually 2nd thread) I know with other programs you can use the pause and play etc buttons on the keyboard even when playing games and such. As of yet I havnt found any plugins/options within iTunes to allow me to

  • Hw do I get rid of birthdays on iPad Calendar?

    I don't know if this has anthing to do with my Google Gmai, Google+,Facebook, or syncing issues but my iPad calendar is suddenly showing the birthdays of everyone in my contacts 6 or more times on the date of their birthday. HELP! I don't want any bi

  • Insert date sent in flag email script

    I need to insert the date sent into this flagged email script to make it more useful, just not sure how to do it: set newline to ASCII character 12 set finalText to "EMAIL REMINDERS:" & newline tell application "Mail"           set theMessages to eve