Writing a Custom StartPoint

Hi,
I want to know whether i can  write a custom startpoint just like a custom component? .
Let me know if there is any way to do it. Please share me any documents or URL's related to it which will help.
Thanks,

When you say like a custom component, I take that as you want to write some Java code which allows for a new way of initiating a process. That would mean the first code run is your code as opposed to the entry point being one of the provided Adobe entry points to a process. Write code with whatever method of kicking it off you want then use APIs to call the LiveCycle process.

Similar Messages

  • Writing a custom component with multiple fields.

    Does anyone have some pointers on writing a custom component that properly handles multiple input fields?
    An example usage might be as follows:
    Assume the following java classes:
    public interface Address {
        //... getters/setters for Address.
    public class Company{
        Address getAddress(){...};
    }The tag usage might be something like the following:
    <custom:address value="#{myCompanyBean.address}" />
    Extending UIComponentBase I can easily render the output and create all the needed input elements. I'm also able to properly retrieve the submitted values in the decode method. But I'm unsure how to handle the "UpdateModelValues" step. Do I simply over-ride processUpdates, or is there more housekeeping to be done?
    Thanks.

    I'm guessing that doing addChild inside createChildren causes an infinite loop.
    Why aren't you just doing this with MXML?  it would be a lot simpler.

  • Writing a Custom Property Renderer

    Hello all,
    I am new to KMC development.  I want to know how to go about writing a custom property renderer.  Detail step by step instructions as to where to start and what are the configurations, etc. would be a great help for me.
    Thanks in advance.
    Vicky R.

    Hello Vicky,
    Step by Step guide to creating Property renderer is:
    1. Program an implementation of AbstractPropertyRenderer.
    2. Implement a RFServerWrapper service to register your property renderer with CrtClassLoaderRegistry.
    CrtClassLoaderRegistry.addClassLoader(this.getClass().getClassLoader());
    3. Technical mapping to your coding in the Property Metadata service.
    4.Restart your server for the changes to take effect.
    Check this link for more infos:
    https://forums.sdn.sap.com/thread.jspa?threadID=41619
    Also check the implementations of RFServerWrapper service in examples at this link:
    http://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c739e546-0701-0010-53a9-a370e39a5a20
    Greetings,
    Praveen Gudapati

  • Doucmentation/Guide on Writing a custom component (a DSC)

    Hello,
    I'd like to learn more about writing a custom component (a DSC), does any one know if there is documentation/guide/tutorial on how to start on it? Please share your comments.
    Thanks in advance,
    Han Dao

    Hello,
    Thank you for all replies, they are very helpful for starting to learn more about DSC.
    I do have another question, is it possible to re-write an already built-in service to customize it in a different way. e.g. The Service Operation "Read Document" in Foundation > FileUtilsService to accept a different type of its Input?
    Thanks,
    Han Dao

  • Writing a custom UIOutput component

    Hi,
    I'm attempting to write a custom tag (with facelets) to conditionally render its child components.
    The tag should be something like this:
    <mw:menu>
      <h:outputText value="blabla"/>
    </mw:menu>My menu tag will try to a menu file, and if it exists must insert that file's content as the child content of the mw:menu tag. If not, it should render the default, in this case "<h:outputText value="blabla">". Here's the problem, I can't work that one out, so I hoped you guys could help me along.
    Here's what I have (simplified):
    public class Menu extends UIOutput {
         private boolean renderDefaultMenu = false;
         public Menu() {
              super();
         public void encodeBegin(FacesContext context) {
              String url = null;
              try {
                   // .... Get and read the menu file .....
                   String inputLine;
                   while ((inputLine = in.readLine()) != null)
                        context.getResponseWriter().write(inputLine);
                   in.close();
                   // We printed the menu, so skip the default menu
                   // that is in this tag's body.
                   return;
              } catch (FileNotFoundException ex) {
                   log.warn("Menu file not found (" + url + "), reverting to default menu.");
              } catch (Exception ex) {
                   // ... Some logging ...
              renderDefaultMenu = true;
         public boolean getRendersChildren() {
              return renderDefaultMenu;
         public void encodeChildren(FacesContext context) throws IOException {
              super.encodeChildren(context);
         @Override
       public String getFamily(){
           return "be.xxx.web.Menu";
         @Override
         public String getRendererType() {
              return null;
    }So far I have only been testing the case of FileNotFoundException, but my menu tag never renders its children.
    Anyone knows what I'm doing wrong here?
    Thanks

    Hi,
    Thanks for the quick response. Could you please suggest me a way to go about writing your own custom renderers?
    Thanks.

  • Writing a custom RMI Activator process

    Hello Group,
    I am in the process of implementing a custom RMI activation scheme, in which remote Activatable objects will be hosted in a custom EXE process, instead of the standard Java.exe/Javaw.exe. I intend to use JNI to create the JVM in this custom EXE process and then load Java classes. I have used JNI to create JVMs in native processes before, but have no experience writing custom RMI activation systems.
    Has anyone attempted this before, and knows if there are any gotchas that I should know early on?
    Thanks,
    Ranjit

    I have a breakthrough. I am able to host a simple RMI server inside a custom EXE. All I do is inside the main of a Win32 EXE, create the JVM and use JNI to call the ‘main’ of a Java class I wrote below.
    This class runs (some undocumented) code to bootstrap the RMI machinery. Hereafter my EXE process process remains alive and is available to service RMI requests. Using this approach, I wouldn’t need to recompile java.c inorder to rename it as long as my custom JNI code is able to parse in all the VM options passed in by RMID in order to create the JVM.
    I was missing the crucial step of calling back into rmid (the Activator) and registering the newly created group, only after which would rmid start creating instances of the remote object. Your advice that I carefully read the spec helped!
    public class Host {
    public static void main(String[] args) throws Exception {
    Class clsInputStream = Class.forName("sun.rmi.server.MarshalInputStream");
    Constructor ctor = clsInputStream.getConstructor(InputStream.class);
    Method readObj = clsInputStream.getMethod("readObject", null);
    Method readLong = clsInputStream.getMethod("readLong", null);
    // Instantiate MarshalInputStream
    Object in = ctor.newInstance(System.in);
    // Read all the data passed in by the Activator (rmid)
    ActivationGroupID id = (ActivationGroupID) readObj.invoke(in);
    ActivationGroupDesc desc = (ActivationGroupDesc) readObj.invoke(in);
    long incarnation = (Long) readLong.invoke(in);
    // Create the ActivationGroup
    ActivationGroup grp = ActivationGroup.createGroup(id, desc, incarnation);
    // Callback into rmid to register the group.
    ActivationGroup.getSystem().activeGroup(id, grp, incarnation);
    // rmid will now invoke ActivationGroup.newInstance to create the RMI server
    Thanks,
    Ranjit

  • Writing a custom renderer for the component  "af:processTrain" in 10g

    Hello,
    I have a requirement where we need to customize the way the af:processTrain is rendered. For this, the simpler and the more generic way would be to write a custom renderer for the af:processTrain component. Is there any documentation or examples that could help in accomplishing this as I could not get any relevant examples or documents.
    Thanks,
    Swapna

    Hi,
    Thanks for the quick response. Could you please suggest me a way to go about writing your own custom renderers?
    Thanks.

  • Need help in writing code Customer Exit for reporting Variable

    Hello Gurus,
           I have a requirement.When a authorized user logins to view the report, he should see only customers available in the value help screen.In the value help screen it is displaying all the customers, but data is displayed perfectly fine for the authorized sales rep. By default, Value help screen displaying all the customer numbers.
    How can I restrict in the value help screen?
    Any help appreciated with points.
    Regards,
    PNK

    Hello PNK,
    You can use a variable with Process type Authorization. This enables variables to be filled with values automatically from the user authorization.
    http://help.sap.com/saphelp_sem40bw/helpdata/EN/44/599b3c494d8e15e10000000a114084/content.htm
    Thanks
    Chandran

  • Help me writing a Customer Exit!!

    Hi Guys
      Help me how to write a customer for calculating the next quarter forecast based on the user enter the input..
    to write a code from the fiscal period they enter....
    *********START OF FIRST PROG
    WHEN 'ZVAR_**** type as interval or selection*
    CLEAR l_s_range.
    IF i_step = 2. "after the popup
    LOOP AT i_t_var_range INTO loc_var_range
    WHERE vnam = ZPxxXXXX.
    ENDLOOP.
    IF loc_var_range-low = '001'
    l_s_range-sign = 'I'.
    l_s_range-opt = 'BT'.
    l_s_range-low = "01"
    l_s_range-low = "03"
    ENDIF.
    IF loc_var_range-low = '004'
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    l_s_range-low = "04"
    l_s_range-low = "06"
    ENDIF.
    IF loc_var_range-low = '007'
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    l_s_range-low = "07"
    l_s_range-low = "09"
    ENDIF.
    IF loc_var_range-low = '010'
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    l_s_range-low = "10"
    l_s_range-low = "12"
    ENDIF.
    *****Until here I calculated the Quarterly months...if I am wrong correct me...
    ******then from here I need to caculate Next Quarter as mentioned below. which is requirement logic...
    if they enter period
    01 --- Quarter1
    02---Q1
    03--- Q2
    04--Q2
    05---Q2
    06---Q3
    07---Q3
    08---Q3
    09---Q4
    10---Q4
    11-Q4
    12-Q4
    This is how i need
    Is it again I need to enter for each period as they enter????
    pls help me with next part of coding???
    APPEND l_s_range TO e_t_range.
    Thanks a lot...
    BI Learner

    Hi,
    Here I'm giving simple code this will give First Day of the Fy Period and Last Day of the Fy Period entered by the user, so you can change as per your requirement, please ask ABAPer in your project to chenge the code, because I don't know what exactly you want to.
    it will give first date of the FY Period based on user entry on ZFYP variable
    ZFDAY_FI is Customer Exit Variable on 0CALDAY and ZFYP is User Entry Variable on Fiscal year/Perod
        WHEN 'ZFDAY_FI'.
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZFYP'.
            zbdatj = loc_var_range-low+0(4).
            zbuper = loc_var_range-low+4(3).
            CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
              EXPORTING
                i_gjahr = zbdatj
                i_periv = 'V3'
                i_poper = zbuper
              IMPORTING
                e_date  = zzdate.
            CLEAR: l_s_range.
            l_s_range-low = zzdate.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
    it will give last date of the FY Period based on user entry on ZFYP variable
    ZLDAY_FI is Customer Exit Variable on 0CALDAY and ZFYP is User Entry Variable on Fiscal year/Perod
        WHEN 'ZLDAY_FI'.
          LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZFYP'.
            zbdatj = loc_var_range-low+0(4).
            zbuper = loc_var_range-low+4(3).
            CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
              EXPORTING
                i_gjahr = zbdatj
                i_periv = 'V3'
                i_poper = zbuper
              IMPORTING
                e_date  = zzdate.
            CLEAR: l_s_range.
            l_s_range-low = zzdate.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
          ENDLOOP.
    In Report Create new Selection and drag the Keyfigure and 0CALDAY and restrict the 0CALDAY with *Intervales i.e. with ZFDAY_FI ; ZLDAY_FI *
    Thanks
    Reddy

  • Query in writing  a Custom Event class

    Hi ,
    I am trying to work with the Events for pratic epurposes , when i am copying , pasting the code from web tutorilas they are working finr , but whne i tries myself they aren't working .
    Please help me
    This is my Custom Event .
    I want to pass the VO Object through Event . PLease see this below code and let me know as where i am doing wrong .
    package events
        import flash.events.Event;
        import vo.User;
        public class LoginEvent extends Event
            public static const LOGIN_EVENT:String = "LoginEvent";
            public var user : User;
             public function LoginEvent(type:String,user:User)
                 super(type,user);
                  this.user = user;
    PLease let me  know
    what are the parameters to be passed inside the Constructor of the Event class , and the Parameters inside the super()
    Waiting for your replies .

    Hi Kiran
                Try this
                                      package events
        import flash.events.Event;
        import vo.User;
        public class LoginEvent extends Event
            public static const LOGIN_EVENT:String= "loginEvent";
            public var userDtl:User;
            public function LoginEvent(type:String,userObj:User)
                //TODO: implement function
                super(type);
                this.userDtl = userObj;
            override public function clone():Event{
                return new LoginEvent(type,userDtl);
    Thanks
    Ram

  • Writing a custom plugin for Crystal Report Designer

    Hi,
    I need to add a custom functionality to Crystal Report Designer so that itu2019s available as a menu option is the CRD and should able to be selected by the Report Designer when they design a report using CRD. Is it possible to write and add custom plugins to the CRD? Is there a SDK available to do this or is there a specific method that I could use? Is this supported at all? I need to add the to Crystal Report Designer XI R2 but I could use Crystal 2008 is this is available in that version.
    Thank you in advance,
    Regards,
    Chanaka

    Hi Jamie,
    This sure looks promising  information for me this is exactly what I want to do. Can you direct me to a working Crystal Report 2008 .net Developer Guide and API reference? The chm files I got from searching doesn't seems to work
    [http://www.sdn.sap.com/irj/boc/crystalreports-sdk]
    [http://www.sdn.sap.com/irj/boc/sdklibrary#section7]
    [http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm]
    [http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_apiRef_12_en.chm]
    Thanks,
    Regards,
    Chanaka

  • Instructions for writing a custom dsp:tag?

    I am planning to write a custom dsp tag for my project, is there any example or documentations about this?

    Yes, actually I don't wanna do this also, but I found the <dsp:include/> tag is not failsafe. We are doing some kinds of variable include, the page attributes corresponding to some variable path, however if the variable is null, instead of include nothing, <dsp:include/> tag recursively include currently context.
    I wanna know how the collect those params within a atg custom tag, I don't think it can be done without access with ATG api.
    Thanks!
    Edited by: Sawyer on Aug 1, 2011 3:06 PM

  • Need to send an SMS from SAP ( by writing a custom report ) System.

    Hi All,
    I am with a requirement like sending SMS after generating some random number .
    Like I will collect the mobile number from HR mastr data and thereafter I need to send an SMS.
    I am not aware of this SMS sending concepts.
    For this I have to develop ABAP report.
    Kindly help me out.
    Best Regards,
    Veerendra Nath

    hi , you can Use Email to SMS , this Facility Should be Available with your Mobile Service Provider , here in Sri lanka its Possible , pls check the Code below
    DATA : t_mailtext TYPE bcsy_text,
              t_lines LIKE tline OCCURS 0 WITH HEADER LINE.
    DATA: objtxt LIKE solisti1 OCCURS 150 WITH HEADER LINE.
    DATA : object_id LIKE sofolenti1-object_id.
    DATA: usrid_long TYPE string.
    DATA: reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINE.
    DATA: doc_chng LIKE sodocchgi1.
    DATA: tab_lines LIKE sy-tabix.
    REFRESH : t_mailtext.
    APPEND t_lines.
    CONCATENATE  'Errors in RCC' sy-datum sy-uzeit INTO objtxt SEPARATED BY space.
      APPEND objtxt.
    Subject for the SMS Alert
      DATA : lw_message TYPE c LENGTH 50.
      lw_message = 'PO Log'.
      doc_chng-obj_descr = lw_message.
      DESCRIBE TABLE objtxt LINES tab_lines.
      READ TABLE objtxt INDEX tab_lines.
      doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
    Entering names in the distribution list
      usrid_long = '3667971"at sign"dialog.lk'.
      reclist-receiver = usrid_long.
      reclist-rec_type = 'U'.
      APPEND reclist.
    *--Second Email Recepient
      usrid_long = '3667975"at sign"dialog.lk'.
      reclist-receiver = usrid_long.
      reclist-rec_type = 'U'.
      APPEND reclist.
      CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
        EXPORTING
          document_data                    = doc_chng
      DOCUMENT_TYPE                    = 'RAW'
         put_in_outbox                    = 'X'
         commit_work                      = 'X'
       IMPORTING
         new_object_id                    = object_id
        TABLES
         object_content                   = objtxt
          receivers                        = reclist
       EXCEPTIONS
         too_many_receivers               = 1
         document_not_sent                = 2
         document_type_not_exist          = 3
         operation_no_authorization       = 4
         parameter_error                  = 5
         x_error                          = 6
         enqueue_error                    = 7
         OTHERS.
    Thanks & Br
    Dilum Alawatte

  • Writing a Custom Transformer

    Hi, I'm currently using a transformer to output a DOM structure as an XML file. I have not modified the transformer in any way. What I need to do is:
    If a DOM Element node has an attribute called "disable" then don't write its XML tag, else write its tag as normal.
    Is there a way to modify the transformer to do this? Any help appreciated.
    Current code:
      public void fWrite(File fOut) {
        try {
          // Use a Transformer for output
          TransformerFactory tFactory =
              TransformerFactory.newInstance();
          Transformer transformer = tFactory.newTransformer();
          DOMSource source = new DOMSource(te.document);
          StreamResult result = new StreamResult(fOut);
          transformer.transform(source, result);
        catch (TransformerConfigurationException tce) {
          // Error generated by the parser
          System.out.println("* Transformer Factory error");
          System.out.println("  " + tce.getMessage());
          // Use the contained exception, if any
          Throwable x = tce;
          if (tce.getException() != null)
            x = tce.getException();
          x.printStackTrace();
        catch (TransformerException e) {
          // Error generated by the parser
          System.out.println("* Transformation error");
          System.out.println("  " + e.getMessage());
          // Use the contained exception, if any
          Throwable x = e;
          if (e.getException() != null)
            x = e.getException();
          x.printStackTrace();
      }THX
    Manehad

    You will need to add a XSL to your transformer (refer to XMl tutorial: http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/xslt/index.html ). You add a Source to the newTransformer method, which will be used when transforming...
    Code example:
    import java.io.File;
    import javax.xml.transform.stream.StreamSource;
    StreamSource xslsource = new StreamSource( new File( "xslfile.xsl" ) );
    Transformer transformer = tFactory.newTransformer( xslsource );
    You now need to specify the xsl-sourcefile, I recommend you read through the tutorial listed above, and maybe even the XSL/XSLT specification from http://www.w3.org/Style/XSL/ if you feel the need. In the xsl-file, you can use something like the following code to determine whether the attribute is there or not and choose what to do if...
    Code example:
    <xsl:choose>
         <xsl:when test="@disable"></xsl:when>
         <xsl:otherwise>
         ... Your code goes in here ...
         </xsl:otherwise>
    </xsl:choose>
    I hope this helps, I am not an expert programmer but I myself am trying to learn how to do this at the moment...
    good luck...
    /Richard

  • Writing a custom event for mouseenter in ActionScript 2.0

    Hi All,
    I am trying to implemetn one functionality based on the mouseenter
    Unlike the mouseover() event, the mouseenter() event only  triggers when the the mouse pointer enters the selected element. The mouseover()  event is triggered if a mouse pointer enters any child elements as well.
    In jquery latest they added support for mouseenter , i want to do the same in Flash AS2.0
    There are only RollOver,RollOut, mousedown, so i want to add mouseEnter event Just like Jquery which is done below
    Checks if an event happened on an element within another element
    // Used in jQuery.event.special.mouseenter and mouseleave handlers
    var withinElement = function( event ) {
         // Check if mouse(over|out) are still within the same parent element
         var parent = event.relatedTarget;
         // Firefox sometimes assigns relatedTarget a XUL element
         // which we cannot access the parentNode property of
         try {
              // Traverse up the tree
              while ( parent && parent !== this ) {
                   parent = parent.parentNode;
              if ( parent !== this ) {
                   // set the correct event type
                   event.type = event.data;
                   // handle event if we actually just moused on to a non sub-element
                   jQuery.event.handle.apply( this, arguments );
         // assuming we've left the element since we most likely mousedover a xul element
         } catch(e) { }
    // In case of event delegation, we only need to rename the event.type,
    // liveHandler will take care of the rest.
    delegate = function( event ) {
         event.type = event.data;
         jQuery.event.handle.apply( this, arguments );
    // Create mouseenter and mouseleave events
    jQuery.each({
         mouseenter: "mouseover",
         mouseleave: "mouseout"
    }, function( orig, fix ) {
         jQuery.event.special[ orig ] = {
              setup: function( data ) {
                   jQuery.event.add( this, fix, data && data.selector ? delegate : withinElement, orig );
              teardown: function( data ) {
                   jQuery.event.remove( this, fix, data && data.selector ? delegate : withinElement );
    So please help me in implemeting the customevent mouseenter  I am using AS2.0
    Regards
    Ramakrishna
    [email protected]

    remove the stop() from frame 1.  and use tl.play() in the onRelease
    and yes, you can use another loop (enterframe) to update the drag_mc position as the timeline plays.  that new code would look like:
    var tl:MovieClip = this;
    tl.onEnterFrame = playF;
    paramF(tl,1,0,tl._totalframes,sb_mc._width-sb_mc.drag_mc._width);
    paramF(sb_mc.drag_mc,0,1,sb_mc._width-sb_mc.drag_mc._width,tl._totalframes);
    sb_mc.drag_mc.onPress = function(){
        this.startDrag(false,0,this._y,sb_mc._width-sb_mc.drag_mc._width,this._y);
        this.onEnterFrame = scrollTL;
        delete tl.onEnterFrame;
    sb_mc.drag_mc.onRelease = sb_mc.drag_mc.onReleaseOutside = function(){
        this.stopDrag();
        delete this.onEnterFrame;
        tl.onEnterFrame = playF;
        tl.play();
    function playF():Void{
        sb_mc.drag_mc._x = this._currentframe*this.m+this.b;
    function scrollTL():Void{
        tl.gotoAndStop(Math.round(this._x*this.m+this.b));
    function paramF(mc:MovieClip,x1:Number,y1:Number,x2:Number,y2:Number):Void{
        mc.m = (y1-y2)/(x1-x2);
        mc.b = y1-mc.m*x1;
    p.s.  please mark helpful/correct responses.

Maybe you are looking for

  • Web Service deploy error

    Hello everyone! I've created a Web Service from a VI. This VI has two inputs values: a String and and Int8 and one single output: an array of DBL values (array of 1x3). Both inputs and outputs are well connected through the Connector Pane. So, in the

  • Creating a user in EP using a java standalone application

    Hi,   I am trying to create a java application to create a user in Enterprise Portal.   I am getting the following error: com.sap.security.api.UMRuntimeException: Cannot lookup ManageConnectionFactory "jdbc/sapep". Possible reasons: 1) The connector

  • PowerMac G5 upgrades

    I was just at an auction this past evening, and stumbled upon a PowerMac G5 7,3 for $110, and I had to have it so I purchased it. It has a 1.8Ghz Dual G5, 1.25GBs RAM, 150GB SATA drive, and 64MB Nvidia with the new and old Apple DVI port. So my quest

  • ATPO Check and performance Issue

    Hi All We had performance issues for ATP check from R/3 to APO and while we asked SAP for help SAP responded saying the data volume for table TTSTR is high and we need to delete unnecessary data by running report -/SAPAPO/SCHED_DELETE_TSTRS and ZZSTR

  • PXI-2575 minimum load

    I work on new project. I will use multimeter PXI-4070 with switch mux PXI-2575. The multimeter will measure voltage on differents tests points of a circuit in test. The input impedance of PXI-4070 are 10Mohms in measure voltage mode. So the current i