Add-on  starting and stopping using Buttons In SAP BusinessOne

Hi,
I have a requirement that   Add-on should be  start and stop should  be done using Button.  When ever i click on Button add-on should start and  after click the button add-on should be stop...
anyone  have any idea...
Thanks,
Y.

Well... stopping it is no problem, you can stop the addon with a button. But starting it with a button? What is going to place this button in B1? And what is going to handle the event of the button being pressed to start the addon?
This can't be done without creating another addon (or using an existing one) just to create the button and listen for its event. So it kind of defeats the purpose.
But all users can have access to addon manager, why not just trigger it from there, where there already are Start and Stop buttons?

Similar Messages

  • Inserting FLV videos that allow student to start and stop anywhere

    Hello,
    I am inserting flv videos that students need to be able to start and stop anywhere, and when the video reaches the end, the student clicks on the NEXT button to go to next slide.
    As long as the student lets the video play without any interruptions, the NEXT button appears at the end.
    THe problem I am having is that everything works except the NEXT button is not appearing at the end of the Video unless the NEXT button is visible for the whole time the video is on.
    If the NEXT button is visible during the whole time the video is showing, the student is able to skip the video without watching it.
    I need the students to view the whole video as part of the course.
    Is this possible?

    Your original post didn't mention that the students should be able to repeat a portion of the video again if they choose to do so. This of course complicates matters further as you would then need to show either one of the standard Captivate playbars or use a Playbar widget as you are doing now. However, this also opens up for the user being able to skip the video once again, so it's not the best solution.
    As I see it you have two options:
    1) Present the video without the playbar as I described in my first post. Add the next button at the end of the video. This will make sure that the video has been watched to the end before the user can continue to the next slide. Perhaps you could add a "Replay" button so that the user would be able to watch the entire video again simply by replaying the slide.You can create Start and Stop(Pause) buttons by inserting Smart Shapes or Regular buttons and assign an Advanced Action to Pause or Continue the project.
    2) Modify one of the Playbar widgets so that the scrubber and the next button isn't activated until a certain frame has been reached on that particular slide. Once this frame is reached the widget could activate Play and Scrubber allowing the users to navigate to the next slide or move around in the video. However, this requires extensive knowledge of Flash and Actionscript to achieve and it will also be a very troublesome approach as the frame numbers would change if you insert new slides (or extend / shorten existing slides) prior to the slide(s) containing the video.
    www.cpguru.com - Adobe Captivate Widgets, Tutorials, Tips and Tricks and much more..

  • Action Script 3 code not working for start and stop button?

    Ok so I have this simple animation I created of a circle that moves from one side of the stage to the other. I have added a new layer and called it buttons. On this layer I have added 2 buttons. One for start and another one for stop. The purpose is to get my circle to move from one side of the stage to the other but be able to use my buttons so that I can start and stop the animations at random times during playback. I fixed all my compiler errors now the problem lies in that everytime I click the start or the stop button I get an output error. I have a 3rd layer in which is titled actions and this is where all my code is posted. I removed that layer and placed my code in the first frame of the buttons layer to see if this would change anything but I still get the same output errors. So I just added back my actions layer. What could I be doing wrong? I have made sure to name all my movie clips and buttons correctly and I even added an instance name to them.
    Here is my code and the errors I am getting when I press the play and stop button on test-
    start_btn.addEventListener(MouseEvent.CLICK, startCircle);
    stop_btn.addEventListener(MouseEvent.CLICK, stopCircle);
    function startCircle(e:MouseEvent):void{
        circle.play();
    function stopCircle(e:MouseEvent):void{
        circle.stop();
    green_btn.addEventListener(MouseEvent.CLICK, greenCircle);
    red_btn.addEventListener(MouseEvent.CLICK, redCircle);
    function greenCircle(e:MouseEvent):void{
        circle.play();
    function redCircle(e:MouseEvent):void{
        circle.stop();
    Here are my output errors-
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at exercise2_fla::MainTimeline/redCircle()
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at exercise2_fla::MainTimeline/greenCircle()

    ok so my circle is my movie clip and it is titled circle and the instance name is circle. Am I supposed to change MovieClip to circle? I put the code at the top of my actions script but for some reason it did not work. I did change play to stop and it got the movie clip to stop when I do test movie but my buttons still do not work. So I changed stop back to play. Strange.
    I did try changing MovieClip to circle but that did not work so I did Circle with a capital C and that did me no good eigther.
    I meant to add that I did get an error that said- 1180 Call to a possibly undefined method circle.

  • Start and Stop Trigger using PXI-6120 and DigitalSta​rtAndStopT​rigger.vi not working :-(

    Hello,
    I've been trying for a while now to get my PXI unit to capture a waveform between a Start and Stop (Reference) Trigger using the NI example DigitalStartAndStopTrigger.vi downloaded from the NI website. However, whilst the start trigger and stop trigger seem to be working i.e. the VI runs and stops at  the correct times there is never any data read from my DAQmx compatible PXI-6120 card. So I can see the VI is running around the aquisition loop but the Property Node AvailSampPerChan is always returning zero... this has me slightly puzzled. I thought this might just be a driver issue so I've updated my box to the following software versions (see below) and installed the latest drivers e.g. DCDNov07.exe (also from the NI site) but nothing has changed.
    my software as of now.
    Labview 7.1 (with the 7.1.1 upgrade applied)
    Max 4.3.0.49152
    DAQmx 8.6.0f12
    Trad DAQ 7.4.4f7
    before I updated I had the same problem but with the following versions:
    Labview 7.1 (with the 7.1.1 upgrade applied)
    Max 4.2.1.3001
    DAQmx 8.5.0f5
    Trad DAQ 6.9.3f4
    So to cut a long story short I still have the same problem with the triggers... does anybody have any ideas what is going wrong?
    To add insult to injury it the traditional DAQ example ai_start-stop_d-trig.vi was almost working correctly before I did the upgrade. It had the strange behaviour of capturing the AI0 channel but on the wrong edges (e.g. if I set Start on Rise and Stop on Fall it would do the opposite, Start on Fall and Stop on Rise).
    I'm going to leave my box doing a mass compile over night but i'd really like it if someone could suggest a solution or point me in the right direction.
    Many thanks,
    Mike

    Hi Graham
    I'm out of the lab today but I'll try and answer your questions as best I can...
    1) What are the values you have set for Buffer size, Rate, samples per read and post trigger Samples?
    At the moment I have all the values (e.g. sample rate, buffer size etc) unchanged apart from the ones I mentioned in my previous post (see above). I have in the past played around with changing the buffer sizes and rates in the example VI but as this appeared to have no effect on the behaviour I now have them setup as in the download.
    2) Does the program end after the stop trigger is implemented?
    Yep, if I toggle the trigger line high then low I see the program exits the read loop and the VI stops running as expected.
    3) Lastly can you give me the details of triggering method. Are you
    using a digital train of users set digital pulses? how long is the
    program running.I'm using the WriteDigChan.vi to manually toggle the first digital line of the PXI-6733 card which is wired directly to PFI0 of the PXI-6120 card. Generally, I just start the VI running  and then toggle the line high, wait a couple of seconds and then toggle it low.
    To me it all looks like it should be acquiring samples but as I said yesterday it just refuses to fill the buffer with any data (and hence no samples are read).
    Any ideas? and thanks for you help,
    Mike

  • Allow a user access to start and stop a particular service in Solaris 11 using RBAC controls

    So, using svcbundle I created a service called "oracle" that starts and shutdown a db. I'm aware of how to grant RBAC access to be a "service operator" to be able to control start/stop ALL services. But I'd like to grant a user access to start and stop JUST this service.
    in this document on page 15, it states that it's possible to do this kind of granularity but doesn't explain how to do it step by step.
    how does one achieve this?
    thanks.

    You need to add a property group such as
    <property_group name='general' type='framework'>
      <!-- to start stop oracle -->
      <propval name='action_authorization' type='astring'
      value='solaris.smf.manage.oracle' />
    </property_group>
    Then add the solaris.smf.manage.oracle authorization to the user profile.
    As an example, see Less known Solaris features: RBAC and Privileges - Part 2: Role based access control - c0t0d0s0.org

  • I want cRIO to start and stop acquisition with push of physical button on cRIO, is that possible?

    When using my cRIO 9024 on the field, I prefer  to be able to start and stop acquisition with push of a physical button on cRIO. 
    I mean I don't want it to be "as start-up," I don't want cRIO to start acquisition as soon as the power is supplied. 
    Is that possible?
    Solved!
    Go to Solution.

    Hi Cashany,
    you surely can read that switch status. But there are easier (but more expensive) ways to switch a button. Fiddling with a pen or small screwdriver to switch USER1 isn't what I call "user friendly"...
    - You have atleast 2 voltage inputs on your module available. Use a switch to supply voltage to those inputs. Use a "real" button!
    - You have a serial port available. You could set some pins to GND or voltage and check their status inside cRIO/RT target...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to Starting and Stopping OC4J Server using Ant

    How to Starting and Stopping OC4J Server using Ant
    In the ant task definitions for ant-oracle-classes.jar (see antlib.xml) there are two tasks called
         name="restartServer" classname="oracle.ant.taskdefs.deploy.JSR88StartServer"
         name="shutdownServer" classname="oracle.ant.taskdefs.deploy.JSR88ShutdownServer"
    I thought that these would shutdown and start the OC4J server. I guessed the parameters as – (Does anyone know where 50 ant targets are documented?)
    <oracle:restartServer
    userid="${oc4j.admin.user}"
         password="${oc4j.admin.password}"
         deployeruri="${deployer.uri}"
    />
    <oracle:shutdownServer
         userid="${oc4j.admin.user}"
         password="${oc4j.admin.password}"
         deployeruri="${deployer.uri}"
    />
    This, however does not start and stop the SOA suite. To do that I've hacked this solution together -
    <path id="oc4j.console">
         <pathelement location="${oracle.home}/config"/>
         <pathelement location="${oracle.home}/jlib/startupconsole.jar"/>
         <pathelement location="${oracle.home}/opmn/lib/optic.jar"/>
         <pathelement location="${oracle.home}/lib/xmlparserv2.jar"/>
    </path>
    <target name="stop" description="stop oc4j server" depends="init">
         <java classname="oracle.appserver.startupconsole.view.Runner">
              <classpath refid="oc4j.console"/>
              <sysproperty key="ORACLE_HOME" path="${oracle.home}"/>
              <arg value="stop"/>
         </java>
    </target>
    <target name="start" description="restart oc4j server" depends="init">
         <java classname="oracle.appserver.startupconsole.view.Runner">
              <classpath refid="oc4j.console"/>
              <sysproperty key="ORACLE_HOME" path="${oracle.home}"/>
              <arg value="start"/>
         </java>
    </target>
    This sort of works – except when the SOA suite doesn't stop cleanly – and needs user interaction to press a Close button. This isn't very useful when doing a continous integration build and deploy.
    So, does anyone have any suggestions or alternative methods to do this?
    - frank

    Actually if the server throws exceptions when it stops (which it always has since we applied patch 10.1.3.3) this technique will pause until a user responds to pop-up ... So a better way (I think) is -
    <target name="start" description="start oc4j server" depends="init">
    <java classname="oracle.appserver.startupconsole.view.Runner">
    <classpath refid="oc4j.console"/>
    <sysproperty key="ORACLE_HOME" path="${oracle.home}"/>
    <arg value="start"/>
    </java>
    </target>
    <target name="stop" description="stop oc4j server" depends="init">
    <echo message="We expect OC4J *NOT* to stop cleanly, so we will timeout after 3 minutes ..."/>
    <java classname="oracle.appserver.startupconsole.view.Runner" fork="true" timeout="180000">
    <classpath refid="oc4j.console"/>
    <sysproperty key="ORACLE_HOME" path="${oracle.home}"/>
    <arg value="stop"/>
    </java>
    </target>
    <target name="restart" description="restart oc4j server">
    <antcall target="stop"/>
    <!-- wait for server to quieten down -->
    <waitfor maxwait="2" maxwaitunit="minute">
    <not><http url="http://${oc4j.http.hostname}:${oc4j.http.port}"/></not>
    </waitfor>
    <antcall target="start"/>
    </target>

  • Starting and Stopping Server from Administration Console without using system ID

    Hi,
    I tried to create another user in the ACL and add it to the Administrators
    group. When I connect to the admin console using this user I receive error
    message NoAccessRuntimeException. Can anybody show me how ti configure user
    to access the console to start and stop managed server. I am using WebLogic
    6.1 SP1. TIA.
    regards,
    Rudy

    Any user added to the Admin group should be able to use the weblogic.Admin
    utility and stop the server and access the console. So if we add Rudy as a user
    to the Admin group then Rudy should be able to stop the server and also use the
    weblogic.Admin commands. however, you cannot start the server with rudy's
    password. You will require a system password for starting the server.
    Please check if the user has been added correctly to the Admin group. you can
    check this in the fileRealm.properties file:
    user.rudy=0x751cc5f18261ba5e570c19a0d2d3cc29a5c5de63
    group.Administrators=system,rudy
    hope this helps,
    Mihir
    Rudy Sutjiato wrote:
    Hi,
    I tried to create another user in the ACL and add it to the Administrators
    group. When I connect to the admin console using this user I receive error
    message NoAccessRuntimeException. Can anybody show me how ti configure user
    to access the console to start and stop managed server. I am using WebLogic
    6.1 SP1. TIA.
    regards,
    Rudy

  • Tree node images changes.. with start and stop button

    I create the animator extends JPanel, which start and stop can be controlled with Swing Timer. It works fine with animation control over the panel.
    Now, I have a tree with each image at each node.
    when the start button clicks, one node image should be animated.
    It is implementable. If animation.gif would have worked, I did't have to do this, but animation gif has fatal error with time interval.
    any words would be appreciated. Thanks =

    Damn !
    With version 1.2.1 I think you'll have to create a new class that extends PositionPathInterpolator and add a pause() anr resume() method to it.
    i suggest something like:
    public class MyPositionPathInterpolator() extends PositionPathInterpolator {
    // add some constructors if necessary
    private float pauseAlphaValue = 0;
    // override computeTransform method
    public void computeTransform(float alphaValue, Transform3D transform) {
       float newAlphaValue = alphaValue + pauseAlphaValue; // calculate new alpha value
       if(newAlphaValue > 1)  // modify it if it is out of bounds
          newAlphaValue -= 1;
       else if (newAlphaValue < 0)
          newAlphaValue += 1;
       super.computeTransform(newAlphaValue, transform); // computeTransform with the right alpha value
    public void pause() {
       this.setEnable(false); // it won't compute transform anymore
       pauseAlphaValue = this.getAlpha().value(); // retrieve current alphavalue
    public void resume() {
       pauseAlphaValue -= this.getAlpha().value();
       this.setEnable(true) // restart computing transform
    }Now you invoke pause and resume methods on your myPositionPathInterpolator object when user clicks on the buttons.
    Of course it is a trick and it will work only with increasing alpha.
    c ya
    GnG

  • My MacBook Pro, does not start after pushing start button. The side bar starts and stops at half way.

    My MacBook Pro, does not start after pushing start button. The side bar starts and stops at half way.

    Hy myneck,
    Happy Holidays!  The resource below may provide some steps to try if your MacBook Pro won't start.
    Troubleshooting: My computer won't turn on - Apple Support
    http://support.apple.com/en-us/TS1367
    This article discusses what to do if your Mac won't turn on. To differentiate this from a display issue, be sure that when you press the power button:
    You don't hear a startup chime.
    You don't hear any fan or drive noise.
    There is no video on your built-in or external display
    If your computer has power but doesn't display any video, it may have one or more of these similar symptoms when you press the power button:
    You may hear a startup chime.
    You may hear fan or drive noise.
    You may see a light from the Sleep LED (if your Mac has one).
    Pressing the Caps Lock key on the keyboard causes it to light. 
    If any of these display-related conditions occur, see Troubleshooting: My computer has no video instead. Otherwise, continue with this article.
    If your computer won't turn on, try each of these steps:
    Verify you have a good connection from your Mac to the wall outlet by confirming the power cord and adapter if present are securely connected and plugged in. To check if the wall outlet is working, plug in a lamp or other electrical device.
    If the wall outlet is working and you continue to have no power try another power cord or adapter if available. If it works you may need a replacement cord or adapter. 
    Note: See Apple Portables: Troubleshooting MagSafe adapters for further troubleshooting with MagSafe adapters.
    Disconnect all accessories that are plugged in to the computer, such as a printer, hub, or other mobile device.
    If your Mac supports user-installable memory, solid state drive, or hard drive, and you recently installed any of these, make sure they are installed correctly and are compatible with your computer. If possible, reinstall the original memory or drive into the computer to find out if the behavior persists afterwards.
    MacBook Pro: How to remove or install memory
    MacBook: How to remove or install memory
    Mac Pro: How to remove or install memory
    Mac mini: How to remove or install memory
    iMac (27-inch, Late 2012): Installing or replacing memory
    iMac: How to remove or install memory
    Reset the SMC.
    If you are still unable to start up your computer after trying each of these steps, visit an Apple Store or Apple Authorized Service Provider (AASP) for further diagnosis. If you plan to visit an Apple Retail Store, make a reservation at the Genius Bar using http://www.apple.com/retail/geniusbar/ (available in some countries only).Note: Diagnostic fees may apply for issues not covered under warranty or the AppleCare Protection Plan (APP).
    I hope this information helps ....
    - Judy

  • How to use counter as an start and stop trigger in 6009

    Hi ALL.
    I'm using USB 6009 as a subject of to acquire data.
    I would like to know on how to use the counter digital input as a start and stop trigger. 
    The acquisition will only start when the first pulse of the digital signal is received and it will stop when the desired number of pulse is received.
    I was trying to use the VI as attachment as my reference. However, after tried, the VI is not working for USB 6009 as the counter input cannot be used as a trigger.  
    I would be happy if anyone could suggest me some ideas on this matter.
    Thanks.
    Attachments:
    DigitalStartandStopTrigger.vi ‏32 KB

    Hi Kate. 
    Thanks for your response.
    For your information, I've design my VI using the counter method. However, it doesnt work well. Please see the figure below. The file also attached with this reply.
     At first, the first counter from Device 2 will start counting. If the counting equal 0, then the acquisition for Device 1/AIO also the counter of Device 1/ctr0 begin acquiring data and counting the edges respectively.
    However, when I did the test, it doesn't work as wanted. It is happened because when counter of device 2 in not equal to 0, the acquisition for Device 1 not happened as it will go to false state.
    Is there anything that someone could suggest on how to start the acquisition for device 1 only and if the counter of device 2 is equal to 1. I would like the acquisition of device 1 start only when the counter of device 2 is equal to 1. I cannot use the trigger as 6009 is not support for it. 
    -Fird- 
    Message Edited by Fird on 07-02-2009 04:28 AM
    Attachments:
    Acquire Data Test 4.vi ‏27 KB

  • Starting and stopping timer using external inputs interfaced with labview

    hello,
    I have trouble finding how to start and stop the timer using external voltage or current pulse. we are interfacing a circuit to labview. so for that we need to count the time it takes between the two external voltages. We have to keep on comparing the voltages to some reference voltage. And when the external voltage crosses the reference voltage we have to start the timer and again we have to stop the timer using tha same logic. We need it for time calculation between the triggers.
    hope you can help.

    https://decibel.ni.com/content/docs/DOC-23334 is agood example to start. You need to modify it to include stop trigger.

  • HT1349 cant change start and stop time on aac file using PC

    I am trying to create a ringtone for my iphone.   So i created a AAC file of the song i wanted as a ringtone.  And I am doin exactly what the videos say.  So when i click Get INfo on the AAC file, it says i am supposed to be able to change the start and stop type. but it doesnt allow me to do so. 

    Set the start/stop where you want. Then right-click on the song in your library and choose "Convert Selection to mp3." This creates a new shorter file, files it by artist/album, and adds it to your library. It will play correctly inside or outside of iTunes.
    After you've confirmed the new one plays OK, you can either keep or delete the longer original, as you wish.
    Note that the above assumes that the source file is unprotected, which is true in your case, since you are starting with an mp3.

  • Start and stop acquisition using a pulse train

    Hi
    As illustrated in the attached picture I would like to use a pulse train ( connected to PFI line) as a triggering devide to start and stop acquisition on rising edge
    Could you please help me to do it in LabVIEW. My problem is I have to use the same line to start and stop ( trigger and reference trigger ) and both should use rising edge
    Thanks
    Attachments:
    pulse train.jpg ‏33 KB

    tintin_99 wrote:
    I greatly appreciate help on this. How can I use a pulse train to start and stop data acquisition on rising edges as described in attached picture.
    Have a look here
    CLA, LabVIEW Versions 2010-2013

  • Using the spacebar for starting and stopping a clip does not work

    Hi!
    The spacebar for starting and stopping the playing of a clip in the viewer of a sequence in the timeline has a live of its own. Without changing any setings, it sometimes works, but mostly not. Is there a seeting, I have not figured out yet? While in a session with Final Cut Express, it does not change its behavior. It starts with a working or not working spacebar. The same applies to the arrows to go back and for a frame, or back and for a clip. If the spacebar does not work, the arrows do not work either.

    thanks everybody. But my spacebar and arrow keys still do not work.
    As uggested, I deleted the preferences in the library (which is also what is suggested by fcpbook.com/Misc1.html)
    I am used working with Final Cut for some time now. And just got myself a new iMac and the program. So everything is quite new. I did not change any settings so far.
    The first 2 days everything was fine.
    Then, one day, the spacebar and the arrow key stopped working. Not in the middle of a session, but when I started the FCE new. Inbetween, it worked for some time. Now, the spacebar is gone again.
    It's just the function of playing the clip that does not work. In whatever window (timeline, viewer). The function of the spacebar to make a space (for example in te name of clip or in a text file) works fine.
    I would not mind the spacebar that much, but I miss the arrow keys to go from frame to frame, or from clip. It's strange.

Maybe you are looking for