Fiori Extension Point Question

I am trying to extend the Approve Timesheets app, there is an extension point in the Object header that I would like to add attributes to:
<ObjectHeader
                title="{parts:[{path:'DetailModel>/Cotype'},{path:'DetailModel>/Codesc'}],formatter:'hcm.mgr.approve.timesheet.utility.Parser.projectTitle'}"
                number="{DetailModel>/No_People}"
                numberUnit="{i18n>TSA_PEOPLE}"
                visible="{DetailModel>/CostVisible}">
                <firstStatus>
                    <ObjectStatus text="{path:'DetailModel>Overtime', formatter:'hcm.mgr.approve.timesheet.utility.Parser.parseOverTime'}"></ObjectStatus>
                </firstStatus>
                <!-- extension point for additional fields -->
                <core:ExtensionPoint name="extS3CostHeader"></core:ExtensionPoint>
            </ObjectHeader>
I used the Add SAP Fiori Extension option in Juno so I am pretty sure I have the component.js part setup right, here is my code for the fragment:
<core:FragmentDefinition xmlns="sap.m" xmlns:core="sap.ui.core">
      <attributes>
      <ObjectAttribute text="Hello World" />     
    </attributes>
</core:FragmentDefinition>
Wen I run the app it just hangs?
Thoughts?
Do I need something more in the fragment?

Hi Mike (& Jason),
I am having exactly the same issue trying to add an extension point to the Wave 2 PO Approval app.
Like your example, the ExtensionPoint is placed in the standard view within an open construct (in your case <ObjectHeader>     ....     </ObjectHeader>; in my case for the MM_PO_APV app S2 view it is within <ObjectListItem>   ...   </ObjectListItem>).
It seems that the core code that inserts the extension point fragment code into the standard code at the insertion point does not understand that the fragment is a sub-element of the open object definition at that point and goes looking for a javascript file of the sub-element name.
I have searched through every Fiori and SAPUI5 document I can find for an example of a working view extension fragment where the extension point is located within an open definition like these, but have not been able to find one. I assume there is some syntax required in the fragment to give the right context to the extension point handler, but being a long time abaper and not a JS or XML programmer I have not been able to crack it. All the short documents on extensibility just give the basics and assume the code fragment will just work, and the long documents (like the SAPUI5 developers guide and the Hana SDK site) also do not cover this exact scenario with an example of the fragment code. However I have seen posts here by people saying that they have implemented these same view extensions successfully.
It is possible that it is an XML namespace issue but I have seen it written that the code fragments should inherit all bindings from the view where the extension point is, so that should be taken care of and the JS library resolution worked out based on the view being extended.
I have got a controller extension working on the S3 view of the PO Approval app so I am not a complete SAPUI5 dolt (well, until proven otherwise ).
Mike - did you get it to work? If so can you post the code? I invite anyone with a working view extension, where the insertion point is located within an open object definition, to post the code fragment here (please).
For reference, the extension point in the PO Approval S2 view is located just before the </ObjectListItem> tag in the following SAP-standard view code (posted after my signature below)
Regards,
Mark
<List
     id="list"
     mode="{device>/listMode}"
     select="_handleSelect">
     <ObjectListItem     
          id="MAIN_LIST_ITEM"
          type="{device>/listItemType}"
          press="_handleItemPress"
          title="{SupplierName}"
          number="{parts:[{path : 'Value'}], formatter : 'ui.s2p.mm.purchorder.approve.util.Conversions.lazyRoundNumber'}"
          numberUnit="{Currency}">
          <firstStatus>
               <ObjectStatus
                    text="{parts:[{path:'WiCreatedAt'}], formatter:'ui.s2p.mm.purchorder.approve.util.Conversions.formatDaysAgo'}">
               </ObjectStatus>
          </firstStatus>
          <attributes>
               <ObjectAttribute text="{ItemDescriptions}" />
               <ObjectAttribute text="{CreatedByName}" />
               <ObjectAttribute text="{parts:[{path : 'ForwardedByName'}], formatter : 'ui.s2p.mm.purchorder.approve.util.Conversions.forwardedBy'}"
               visible="{parts:[{path : 'ForwardedByName'}], formatter : 'ui.s2p.mm.purchorder.approve.util.Conversions.commonFieldVisibilityTrigger'}" />
               <ObjectAttribute text="{parts:[{path : 'SubstitutingForName'}], formatter : 'ui.s2p.mm.purchorder.approve.util.Conversions.substitutedBy'}"
               visible="{parts:[{path : 'SubstitutingForName'}], formatter : 'ui.s2p.mm.purchorder.approve.util.Conversions.commonFieldVisibilityTrigger'}" />
               </attributes>
               <core:ExtensionPoint name="extListItemInfo" />
     <ObjectListItem>
</List>

Similar Messages

  • Question on webi extension points

    Hi,
    I am just wondering if anyone has used extension points to do the following?
    to capture mouse hover (point) when user hovers over the report.
    to capture the clicked cell whether it is a column header or cell and column index.
    Thanks.

    Hi gandams, unfortunately as David said , the event model of the extension point is not that fine grained and you can not trigger events from the report elements itself.
    Apart from the report menubar/toolbars/dialogbox/popup buttons, you can trigger events for workflow actions such as refresh, drill, or when you switch report tabs. (please note that the opendocument event will be included in a next service pack).
    Maybe as a workaround, you could create a new panel (left or right). Then point it to a JSP page where you will invoke a mix of Javascript/CSS and REBEAN in order to get values from dataproviders or a selected table.
    From there you can create a tooltip on your report values and interact with the report.

  • BPEL Designer Extension Points?

    I'm wondering if there's any way to extend JDeveloper BPEL Designer? I know there's something for Eclipse - see for example http://eclipse.org/proposals/bpel-designer/main.html :
    "Extension Points The project should be architected as a set of plug-ins, each of which provides the ability for other groups or vendors to further extend and customize the functionality in a well-defined manner. Here is a list of possible extension points that it may provide:
    Runtime environment pairing (Validation, Compilation, Deployment)
    Addition of specific functions
    Extensions to BPEL palette definition
    BPEL element extensions and visual tool contributions"

    We are currently working on making the BPEL Designer extensible so as to allow for new activities, wizards, etc to be written by customers and partners. Is this what you are looking for? If so, this functionality is planned for 2006 and should apply to both thre Eclipse and JDev BPEL Designer plug-ins.
    Regarding source code, we are not planning to make source code available to the JDeveloper BPEL Designer plug-in, though we have proposed to open source our Eclipse BPEL Designer and co-lead that project with IBM (as you may have seen).
    If you are asking a different question than either of these, drop me an email or you also may want to post to the OTN BPEL forum:
    BPEL
    Dave
    David Shaffer
    Director Product Mgmt, Oracle BPEL Process Mgr
    [email protected]
    W: 650.506.1729
    http://otn.oracle.com/bpel

  • JDeveloper BPEL Designer Extension Points?

    I'm wondering if there's any way to extend JDeveloper BPEL Designer? I know there's something for Eclipse - see for example http://eclipse.org/proposals/bpel-designer/main.html :
    "Extension Points The project should be architected as a set of plug-ins, each of which provides the ability for other groups or vendors to further extend and customize the functionality in a well-defined manner. Here is a list of possible extension points that it may provide:
    Runtime environment pairing (Validation, Compilation, Deployment)
    Addition of specific functions
    Extensions to BPEL palette definition
    BPEL element extensions and visual tool contributions"

    We are currently working on making the BPEL Designer extensible so as to allow for new activities, wizards, etc to be written by customers and partners. Is this what you are looking for? If so, this functionality is planned for 2006 and should apply to both thre Eclipse and JDev BPEL Designer plug-ins.
    Regarding source code, we are not planning to make source code available to the JDeveloper BPEL Designer plug-in, though we have proposed to open source our Eclipse BPEL Designer and co-lead that project with IBM (as you may have seen).
    If you are asking a different question than either of these, drop me an email or you also may want to post to the OTN BPEL forum:
    BPEL
    Dave
    David Shaffer
    Director Product Mgmt, Oracle BPEL Process Mgr
    [email protected]
    W: 650.506.1729
    http://otn.oracle.com/bpel

  • WebI Extension Points in 4.0

    A customer was told by a partner that WebI Extension points in 4.0 won't be supported anymore.  Is that the case?
    Thanks

    Hi,
    XI3.1 REBean SDK programs don't migrate to BI4.x (it's not a public API in 4.x), so will need to be rewritten using RESTful Web Services.
    I'd recommend you take any follow-up questions to the SDK forum here: Java SDK Application Development
    Regards,
    H

  • Webi Extension Points - getting the SQL or DataProvider

    Has anyone used Webi Extension points to "extend" the BO XI R2 Java Report Panel?  Great concept - but seem like "all show".
    We have a requirement that prior to the Refresh of a report -  we modify the SQL.  I do not see a corresponding Interface for the "view SQL" and "change/freeze SQL"
    More importantly, I can not get to the DataProvider.   The
    IDataProviderPanel only has getName or getUniverseName?  I need com.businessobjects.rebean.wi.DataProvider.
    We cann't be expected to "decompile" ThinCadenza.jar?
    Help!?!?

    Ted!  You always answer the tough questions...thank you for your reply!
    Not only is it still a Lab project ...there is a contest using it and with the Rich client this mechanism can only prove to be more useful.
    No, we are not looking to filter the query - we are htting "several" schemas with the same SQL Unioned together based on some logic.  So we need to "modify" the final SQL.
    I understand that the RE is not exposed (wish it were) - but the neither is ALL the Java Report Panel UI.  If it were, we could "simulate the VIEW SQL button". 
    Or can we? 
    IQueryPanel Interfaced efines actions on the Query Panel.
    Related - MAIN_TOOLBAR constant Integer that represents the main toolbar of the Query Panel that conaitns the Add query button.  
    The View SQL button is on the same toolbar.  Is there anyway to invoke it?
    Thanks, Chuck

  • Extension point documentation?

    Are the Eclipse extension points defined by Flex Builder
    described anywhere, or will they be in 2.0.1?
    com.adobe.flexbuilder.editors.mxml.quickFixProvider and
    com.adobe.flexbuilder.editors.mxml.contentAssistFactories are among
    the more interesting sounding ones that I'm not sure how to
    use.

    (xml snippet screwed up the format, sorry, reformatted it now)
    Oh, I'm glad you find the report utility useful, as you have noticed the report is generated based on XSLT templates, so it's fully customizable if you are familiar with XSLT. Currently the default report does not display documentation for extension point, but you can modify the template file to retrieve and display the information you want, try this:
    1. go to your IDE user dir, the default is C:\Documents and Settings\<user_id>\.jstudio\Ent8, locate file under <userdir>\.uml\config\WebReportSupport\XSL\usecase.xsl
    2. modify the template section <xsl:template name="ExtensionPoints"> to add another column (next to the name column ) to display extension point documentation
                                           <td>
                                  <xsl:value-of select="@name"/>
                                  <br/>
                               </td>
                                           <td>
                                  <xsl:call-template name="Documentation">
                                                    <xsl:with-param name="value" select="UML:Element.ownedElement/UML:TaggedValue[@name='documentation']/UML:TaggedValue.dataValue"/>
                                                    </xsl:call-template>
                                  <br/>
                             </td>3. save the file and re-generate the report
    Let us know if you have other questions and suggestions. We're thinking to revamp the web report in the coming release to organize information in a Javadoc look and feel, your feedback will be extremely valuable to us.
    Thanks!
    Sheryl

  • XI 3.1 Extension Points

    In XI R2, we have customized the save page within the Java Panel. We were able to call our custom save page using the following tag u2013
    appletParams = appletParams +'  <param name="DocumentType" value="wid"></param>' +
                    '  <param name="Universe" value="<%=universeName%>"></param>' +
                    '  <param name="UniverseID" value="UnivCUID=<%=universeCUId%>"></param>' +
                    '  <param name="SaveAs" value="<%= request.getContextPath() %>/reports/SaveReport.jsp?StandardReport=<%=reportType%>&storageToken=<%=storageToken%>&reportMode=<%=reportMode%>&unvId=<%=universeId%>&reportNamePassed=<%=repName%>&reportDescPassed=<%=repDesc%>"></param>' +
                    '  <param name="bRobot" value="false"></param>' +
                    '  <pa
    Based on our understanding this functionality is not available in XI 3.1. Weu2019ve implemented some restricted report functionality using the custom u2018SaveAsu2019 page.
    We are planning to use Web intelligence extension points to hide the default u2018SaveAsu2019 button in the query panel and then add a new save button to call our custom code. Is this feasible with extension points? We are using Java Webi SDK.
    Any help is greatly appreciated.

    Mike -
    How does the IP address need to be recognized and recorded?  At view-time of the report via InfoView?   During adhoc report creation (webi query panel) ?
    Does Auditor not satisfy this requirement?
    As far as using EPs (these are actually in C btw) - this could get a bit murky as you'd still need to manage a way to enforce the custom function to be present in the Webi report.
    If you need to essentially record IPs of users who are using any of the available document viewing interfaces (PDF, interactive, etc) then I'd add some custom code to viewDocument.jsp that grabs the client IP (how will you account for proxies, or is this a non-issue?) and silently stamps the address in a footer cell of the Webi report or merely records the view action elsewhere without actually touching Webi.
    I don't think you can escape the not wanting to customize InfoView code, unless you roll your own viewer and force users to use that instead.
    Hope this helps

  • Queries on extension points

    1)Using Extension Point, can we modify the Query during report runtime.
    a. E.g. We have a requirement to dynamically append the WHERE
    clause based on the BO User. Can we write a function on click of Run
    button to append the Where condition of the query?
    2) Using Extension Point, can we compute a value and create a
    variable to hold that value in the report?
    a. E.g. In the Query Panel, we have selected objects A, B, C, D.
    But in the report we uses only Objects C,D. But in the report we want
    to show a value computed from A, B, C. Can we define a function to
    compute this value (derived from formula) in Extension Point, and
    either show it in the report as a new column or save it as a new
    variable in the report for future use?

    Hi,
    1. For the first one, you could use Row level security.
    Tools --> Manage Access Restrictions --> Create restriction --> Go to Rows tab --> Apply condition --> Save.
    And then assign this restriction to user groups.
    If you want to apply this based on user level, if your data contains that information use could apply a condition using BOUSER variable.
    2. You can create variables in WebI reports. In variables  you can define formulas. Check for Variable editor option in the Edit Report panel.
    Regards
    Gowtham

  • Extension point in blaze for enhancing serialization via externalization

    I'm currently working on porting some of Granite's functionality over to BlazeDS. I'd like to start with Granite's Externalization mechanism, http://www.graniteds.org/confluence/display/DOC/2.+Externalizers , which transparently supports Externalization java-side without having to create read/writeExternal methods.
    Looking over BlazeDS source, I see that in Amf3Input.java, line 454 (from tagged 3.2 source tree):
    if (externalizable)
    readExternalizable(className, object);
    It looks like the externalizable variable comes from "traits" inferred from the incoming AS3 representation. If I wanted to support externalization ala Granite, it looks like I'd have to extend Amf3Input and override the readExternalizable() method to support this. There doesn't appear to be another extension point.
    Is this correct?
    Thanks

    On the output side, it looks like I'd need to create a custom BeanProxy extension (PropertyProxy implementation) that looks to see if the object should be externalized using this mechanism. In granite this is part of the configuration, and my custom BeanProxy implementation should look to see if this class should be externalized.
    I would also have to extend Amf3Ouput to override writePropertyProxy() (line 532) since I don't see an extension point to support a pluggable implementation.
    If any devs of Blaze-savvy folks could double check that this would be the right approach I'd appreciate it very much.

  • Error when building extension points

    Hello,
    I am trying to compile the extension point sample: "Query Panel".
    When I try to export the project in eclipse to a runnable jar file I get the following error message:
    JAR export finished with warnings. See details for additional information.
      Exported with compile warnings: Extension Points - QueryPanel/src/querypanel/ImageLoader.java
      Exported with compile warnings: Extension Points - QueryPanel/src/querypanel/ExtensionPoint.java
      Jar export finished with problems. See details for additional information.
        Fat Jar Export: Could not find class-path entry for 'C:Temp/Ecllipse Projects/Extension Points - QueryPanel'
        Fat Jar Export: Could not find class-path entry for 'C:Program Files/Business Objects/BusinessObjects Enterprise 12.0/classes/jdic/jdic.jar'
        Fat Jar Export: Could not find class-path entry for 'C:Program Files/Business Objects/BusinessObjects Enterprise 12.0/classes/boconfig.jar'
        Fat Jar Export: Could not find class-path entry for 'C:Program Files/Business Objects/BusinessObjects Enterprise 12.0/classes/cdz_ext.jar'
        Fat Jar Export: Could not find class-path entry for 'C:Program Files/Business Objects/BusinessObjects Enterprise 12.0/classes/cdz_inproc.jar'
        Fat Jar Export: Could not find class-path entry for 'C:Program Files/Business Objects/BusinessObjects Enterprise 12.0/classes/cdz_ui.jar'
        Fat Jar Export: Could not find class-path entry for 'C:Program Files/Business Objects/BusinessObjects Enterprise 12.0/classes/cdzextidl.jar'
        Fat Jar Export: Could not find class-path entry for 'C:Program Files/Business Objects/BusinessObjects Enterprise 12.0/classes/cecore.jar'
    The external library that I am using is: RCThinCadenza.jar
    Even when I add the external jar's listed in the error message  to my project manually I still get the above error message.
    Can someone tell me if I'm missing something here?
    Many thanks
    Rim

    Thanks for that Ted, I have now build the project to a "normal" jar file successfully.
    I have now got a jar file and a library folder.
    Do you know what steps are involved in getting this extension point to work on my local Webi RichClient?
    I tried to copy the JAR file and webi_plugin.properties file into the business objects classes folder on my local machine but when I try to execute the rich client I get the error:
    "Cannot Read the Script file: QueryPanel.ExensionPoint
    Any ideas?
    Many thanks
    Rim

  • Floating point question

    I am trying to create a price attribute, so I need to places after the decimal point. I how do I set that when I create a table?

    Example from Help section in Oracle SQL Developer:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    With the OLAP and Data Mining options
    SQL> set serverout on
    SQL> DECLARE  -- Declare variables here.
      2    monthly_salary         NUMBER(6);  -- This is the monthly salary.
      3    number_of_days_worked  NUMBER(2);  -- This is the days in one month.
      4    pay_per_day            NUMBER(6,2); -- Calculate this value.
      5  BEGIN
      6  -- First assign values to the variables.
      7    monthly_salary := 2290;
      8    number_of_days_worked := 21;
      9
    10  -- Now calculate the value on the following line.
    11    pay_per_day := monthly_salary/number_of_days_worked;
    12
    13  -- the following displays output from the PL/SQL block
    14    DBMS_OUTPUT.PUT_LINE('The pay per day is ' || TO_CHAR(pay_per_day));
    15
    16  EXCEPTION
    17  /* This is a simple example of an exeception handler to trap division by zero.
    18     In actual practice, it would be best to check whether a variable is
    19     zero before using it as a divisor. */
    20    WHEN ZERO_DIVIDE THEN
    21        pay_per_day := 0; -- set to 0 if divisor equals 0
    22  END;
    23  /
    The pay per day is 109.05
    PL/SQL procedure successfully completed.
    SQL>It's not create table statement which you need but one can see in this example answer on your " Floating point question".
    HTH
    Message was edited by:
    Faust

  • Does Oracle AIA PIP provides extension points 4 ABC, EBF & EBS?

    I wanted to know if all Oracle AIA PIP provided the standard extension points for all the AIA components like ABC, EBF & EBS services?
    I am neither finding the extension points in any PIP code for ABC/EBF nor in AIAConfigurationProperties.xml?
    Therefore how do I know the PIP code provides standard extension points for all the AIA components like ABC, EBF & EBS services?
    Is there any UI or configuration file which mentions about all extension points?
    Does, by default the AIAConfigurationProperties.xml files have the setting for all extension for ABC & EBF?
    Thanks In Advance!
    priyadarshi

    Hi,
    All the extension points for ABCS and EBF are configured in AIAConfigurationProperties.xml file and Iam not sure about EBS.
    From the AIA Foundation pack you will not able to see any extension point in the above said file.
    If you have a PIP installed, then the entry will be seen in the AIAConfigurationProperties.xml as below,
    <Property name="ABCSExtension.PrexformMQABM_To_ProcessItemEBM">false</Property>
    <Property name="ABCSExtension.PostxformMQABM_To_ProcessItemEBM">false</Property>
    <Property name="ABCSExtension.PreInvokeProcessItemEBFV1">false</Property>
    <Property name="ABCSExtension.PostInvokeProcessItemEBFV1">false</Property>
    Based on the extension used, the value will be true or false for the specific AIA Process.
    Thanks,
    Ashok.

  • Documentation and Samples for Web Intelligence Extension Points url.

    I have been trying to find documentation and samples for Web Intelligence Extension Points. Can someone give me the link ?
    The files are
    1.)  webi_dhtml_EP_samples.zip
    2.) xi3-2_web_dhtml_customization_and_integration_ext_points_en.pdf

    Hello,
    I'm trying to find the API documentation and samples for Web Intelligence Extension Points for BO XI 3.1.
    The downloadable ZIP is no longer available at the URL Simply customize your WebIntelligence User Interface
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80f21e8b-711d-2c10-6f9a-ae191653f848
    Anyone could you give me a new link for this feature ?
    Thank in advance.
    Sincerely,

  • DHTML Viewer Extension Points

    Hi all,
    I have two tasks to achieve with the DHTML VIewer Extension Points.
    First task is to implement a custom prompt handling with some special behaviour.
    What I already have is the integration of my struts2 action and jsp page in the left pane.
    -> What is missing: How can I force the viewer to reload the document instance from storage token on which I did set the prompts?
    Second task is, to send a refreshed document to a user.
    The steps are to open a deski or webi report, hit refresh, set the prompts and then send the document with values to a user.
    What I do right now is to get the documentInstance from (refreshed) storageToken, call saveAs(...) and use the properties() to get the ID of the IInfoObject which I send to the user - but with using the IInfoObject, I still send the document like it was exportet to the repository.
    Any ideas?
    Thanks in advance!
    Jan

    Hi Ted,
    thanks for your response I finally found a way to do what I want to do, at least refreshing the document.
    Most of it was in processAnalyzePanel.jsp.
    Thanks again.
    Regards
    Jan

Maybe you are looking for

  • Animated gif in flash cc

    why are the setting of the gif are NOT there (publish form) how can i make my gif in better resolution cos it comes out really low res now

  • How to test a plug_in without Adobe Reader Integration Key?

    I havge a project to create a plug_in for acrobat reader with Adobe Acrobat 8.1 SDK. I also apply for the Adobe Reader Integration Key, but I have not it by now. But deadline of the project is coming, is there any one who can tell me how to test the

  • Process Flow errors - how do you see them

    Hi there Created and deployed a process flow but when run it either comes up with warnings or errors. Really simple process flow to run two mappings which, individually run fine. when run the process flow in Conrol Cenetr has error or warning symbol,

  • Creating syslog report on a separate server for ASA 5555-x

    hello all, how do we create syslog report for ASA to dump in a separate physical server? thanks

  • Aperture will not recognize photos after failed import?

    Hi, I'm running a 13.3" MacBook Pro circa fall 2010 with 10.6.8.  I was uploading photos from an SD card I use with my camera.  I accidentally pressed "import all", and Aperture began to import everything on the card.  I did not want this, so I stopp