How does one Component access another Component via Component Interface ?

Folks,
Hello. I have developed my project as 2 Components ( A and B). I have created a Search Record and a Component Interface for each Component.
Now, a push button in a page in Component A needs to access all pages in Component B via its Component Interface. What are the steps to do for Component A to access Component B via their Component Interface ?
Thanks.

You could define the PeopleCode to make the Component Interface work on the FieldChange event of that push button you were talking about, but it would be better to put your PeopleCode in a Save event. To do that, you would use the DoSaveNow() function on the button's FieldChange event. Then, that would trigger a save, and you could put your code on the SavePostChange of any field or on the Component itself.
Once you decide on an event, the easiest way to start is to open the blank PeopleCode window. Also, place the Component Interface in your project. Next, drag the Component Interface from the Project and drop it into your PeopleCode editor window. This will generate a bunch of PeopleCode that you can use as a starting place.
The Component Interface allows you to remote control a component as if your code were a user sitting at the Browser. So, when coding the program that uses the Component Interface, you have to have that mindset. It helps me to open a browser and walk through what I want my code to do. Then, I code each step as I do it online.
There is probably a lot more that you need to know, but is this a good starting point? Is it somewhat on track with what you were asking? Let me know were to go from here with more information.

Similar Messages

  • Flash CS5 How does one change background color in TextArea Component

    I'm trying to change the background color of a TextArea Component.  Does anyone know how to do this?
    function processXML(e:Event):void {
      var strTextBox:String;
      myText.visible=true;
      myText.setStyle("contentBackgroundColor", 0x000000);  //Does not work..nor does   myText.setStyle("backgroundColor",0x000000);
      myXML = new XML(e.target.data);
      strTextBox = "<a href='" + myXML.Branch[0].linkURL + "'> More Info...</a>";
      myText.htmlText=strTextBox;

    for that one you have use styles:
    var newFormat:TextFormat = new TextFormat;
       newFormat.bold = true;
       newFormat.size = 18;
       newFormat.color = 0xFFFFFF;  //I'm wanting white font on black background.
       //apply the format:
    myText.setStyle("textFormat",newFormat);
       myText.visible=true;
      myText.textField.background=true;
      myText.textField.backgroundColor=0x000000;

  • How does one create a LabView-native object for interfacing to custom H/W?

    I have created an API to some custom hardware.
    I've created both C-dll and .NET Assembly, and I can create VIs using either.
    However, for programmer simplicity, I'd much prefer to offer LabView support in the form of a LabView-native object.
    I've considered doing it via a sub-VI, but I'd really prefer a native object.
    Questions:
    1) What is the correct/proper name for a such a native LabView object that wraps the API to my custom hardware device?
    2) What language is this thing written in?
    3) Can I write this thing, or can NI only create such a thing?
    4) If i can write it, where can I obtain the SDK for creating it?
    Many thanks,
    -Dave
    Solved!
    Go to Solution.

    Yes, removing the block diagram obscures the code so much that not even newer versions of LabVIEW can make sense of it.
    I think under the hood it must be converting it to Perl.
    Spoiler (Highlight to read)
    If you believe this and have lots of money please contact me with your credit card info 
    If you believe this and have lots of money please contact me with your credit card info 
    =====================
    LabVIEW 2012

  • How does one define a default style for a custom Flex component?

    How does one define a default style for a custom Flex component?
    hello
    I created a new set of Flex component library slib.swc (Flex 4.5). Would also like to have a default style. defaults.css file, making it the default style of the component library.
    Like flex the builder install directory of sdks \ 4.5.0 \ frameworks out \ libs directory has a spark.swc file, open with Winrar will see defaults.css this file. Defaults.css file defines the default style of the flex spark components.
    How can it be achieved?
    As follows
    slib.swc contains a CLabelEx components, and a defaults.css file
    defaults.css source file as follows:
    @ namespace s "library :/ / ns.adobe.com / flex / spark";
    @ namespace mx "library :/ / ns.adobe.com / flex / mx";
    @ namespace cn "http://os.slib.cn";
    cn | CLabelEx
            styBackgroundAlpha: 1;
            styBackgroundColor: # 569CC0;
            styBorderAlpha: 1;
            styBorderColor: # 569CC0;
            styBorderWeight: 1;
            styCornerRadius: 3;
    In slib.swc the application MyLabel.mxml of the source file as follows:
    <? xml version = "1.0" encoding = "utf-8"?>
    <s: Application, the xmlns: fx = "http://ns.adobe.com/mxml/2009
                               xmlns: s = "library :/ / ns.adobe.com / flex / spark"
                               xmlns: mx = "library :/ / ns.adobe.com / flex / mx"
                               xmlns: cn = "http://os.slib.cn
                               the minWidth = "955" The minHeight = "600">
            <fxeclarations>
            </ fxeclarations>
            <cn:CLabelEx x="67" y="112"/>
    </ s: Application>
    I hope CLabelEx default use cn | CLabelEx, style to display its appearance.
    I refer to above approach, but failed to achieve. Can you please re-Detailed
    Thanks!

    dj is right. Any Folder can be a picture folder.
    Create a root level folder and add it to your Pictures Library in Windows.  It will show up with all the scattered pictures from other programs. It can even be a different dirve if you like.  You  can even specify one to be the default save location for pictures in this dialog.
    Navigate to Pictures in your Libraries in Windows Explorer Right Click and select Properties.
    Message was edited by: Rikk Flohr forgot the instructions...

  • My ipod touch is being read as just a simple camera and will not let me access it, how does one go about fixing this problem

    My ipod touch is being read as just a simple camera and will not let me access it, how does one go about fixing this problem? My screen has recently cracked and i need to retrieve my music from it but cant do so when my computer is reading it as a camera and only showing me its pictures.

    Here:
    iOS: Device not recognized in iTunes for Windows
    or
    iOS: Device not recognized in iTunes for Mac OS X
    Also try another computer.

  • In Photo 1.0, how does one access the map showing where all photos were taken, as could be done previously in iPhoto?

    In Photo 1.0, how does one access the map showing where all photos were taken, as could be done previously in iPhoto?

    Hi JohnDory,
    The information side-bar from iPhoto has been removed in Photos App, and so it's been converted into a pop-up window showing both the exposure, aperture and so technical photo parameters, as well as the comments, faces and LOCATION for that photo.
    This small floating window is shown whenever you click the button in the app title bar, right clicking a specific photo or pressing ⌘i
    If you open the albums view (clicking in the name of the album list, NOT an album name, you can see in your left sidebar - which can be shown or hidden) and press ⌘i without selecting a specific photo the Info pop-up will show the map for your whole library (as well as the total amount of photos, videos, GB used, etc)
    So, I'm afraid the "Locations" view (which I really loved) from iPhoto has been ripped off... and we can only get "some sort of locations view" by this method.
    As for locations... there is no option for manual geotagging (so, setting location to a specific photography which doesn't have it yet)... that really ****** me off 
    Regards,
    braincasualties.

  • How does one access "footers" in Dreamweaver cs6?

    How does one access "footers" in Dreamweaver cs6?

    How does one access "footers" in Dreamweaver cs6?
    Depends on your code.  If your site uses Server-side Includes, it's quite possible the footers are in a separate file in your site folder such as footer.php or footer.incl, or footer.html.
    If that's the case here, you need a local testing server to see them in your parent page.
    Nancy O.

  • How does one access their images in their libraries in Desktop Adobe Photoshop that are connected to their Mobile Adobe Shape?

    So
    I have Adobe Shape on my iphone, and in my Creative Cloud on the web it can access the images ive made. BUT, these images wont show up in my library on Photoshop on my computer and i cant seem to save them from the creative cloud on the web.
    How does one get from A to B?
    Thankyou
    Victoria

    Hi Victoria and welcome to the forum.
    I had to Google Shape but it looks interesting, and dies use the CC Libraries.  I am a big fan of CC Libraries, but have only used them between apps on the same machine.  So it is just a matter of see how they work between different systems
    Illustrator Help | Creative Cloud libraries - collaborate, sync, and share assets
    In my experience, I simply drag an asset onto the Library in one app, and it is there in my other apps.  But I have to make sure I am looking at the same library name on both computers.  Now I have been confused over syncing before, but I suspect that if you open the Application Manager and click on the little Cog icon, and in the Files tab make sure Sync is checked.  Otherwise you might as well read the help files.
    Sync digital assets in Adobe files and apps | Creative Cloud Libraries
    Good luck

  • On ipad 2 ps touch just keeps crashing it appears from reviews this is a common problem, how does one access a refund

    On ipad 2 ps touch just keeps crashing it appears from reviews this is a common problem, how does one access a refund

    As stated, completely exit pst (don't just leave the app) and then activate airplane mode. Then open PST and change your cloud sync option to "off". Once you deactivate airplane mode, you should be able to open PST again without the crash. Iirc, I had to work at opening PST and accessing my settings very quickly or it would still crash before opening the settings page. Unfortunately, we have to completely forget about cloud sync until the bug is fixed. Save any image files back to the ios camera roll to share with other apps or upload elsewhere.

  • HT1600 update Apple TV via settings general update software advise Apple support.  But Airplay won't display the Apple Tv because it needs an updated compatible software. Catch 22. How does one resolve this contradiction please? Paul

    update Apple TV via settings>general>update software advise Apple support.  But Airplay won't display the Apple Tv because it needs an updated compatible software. Catch 22. How does one resolve this contradiction please? Paul

    only the following macs support airplay mirror
    http://support.apple.com/kb/ht5404

  • HOW DOES ONE ACCESS / OPEN INSERTED SD CARD CONTAINING MP3s WITH ITUNES?

    Hello,
    How does one access / open an inserted SD card containing MP3s with ITUNES?
    Thanks
    < Edited by Host >

    File > Add Folder {or File} to library.

  • HT1212 my niece lockup her ipod and don't remember password and/or it dont work now   there no access to setting to wipe and reformat  how does one do this

    How does one redo a 8GB ipod?  My neice has one and lock it with a password and now password dosen't work and/or she forgot it!  It give message ipod is diable!  connect to Itunes!  I've done that and the device doesn't showup in itunes, keep getting a message that password is needed!  But there no input for that on the phone either!  So I thought I would just dump and reformat and reinstall software, but I'm using windows and the device dosen't show up! Anyone!!!!! got a answer!
    Thanks

    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • How to play song from one iPhone to another iPhone via Bluethooth?

    How to play song from one iPhone to another iPhone via Bluethooth and AirPlay?

    You don't. Such is not supported.

  • How does one migrate play lists to another account

    Question how does one migrate or copy a list with out assocaiting with another account, ex my play list on this account I like to put on my other account since I want to keep my music from FB(this account is linked through sign up, where as my other account don't).  I know how to copy the list url and do know how to drag and drop to desk top, both assocaite with this account Why ask this question when looking at when something is added or who added it it gives an account number(and that account was deleted for a reason and list migrated to this account).  Is there a possibility of taking my lists with out account number or would that be impossible? Note I use 8.1 for Windows

    Hello there and welcome to the community,
    1) on the old account : copy the Playlist Link (Right click on the title)
    2) Paste it on your web browser
    3) open your new account.
    4) Play the playlist in your browser
    5) Playlist will open also in your Spotify desktop
    6) Subscribe to the playlist. That will save the playlist on the folder PLAYLISTS (on left side)
    7) Always on your new account, create a new playlist with the same title if you want
    8) Copy all the tracks from the old playlist to the new one
    9) Delete the old playlist
    10) Now you have a playlist with your new user name as creator
     

  • HT4314 i'm new and i don't know haw to access a new crossword puzzle, the one i already completed keeps coming up...how does one get to the next puzzle?

    in crosswords how does one advance to the next puzzle please, thanks

    Re: That garbage is unreadable.
    If you really want help, stop messing with the fonts and post so that others can read and offer suggestions.
    Or better yet... try a search, I'm certain you'll find a solution to whatever issue you're experiencing.
    I have found that many times it is the things that make you most angry that push you to action. This was the case here. Thank you for causing me to get so angry that I found the answer myself.

  • I am attempting, with no success, to export my bookmarks from my desk computer to my laptop. Both computers are on a network. How does one export the bookmarks to another computer?

    How does one export bookmarks? I wish to transfer a copy of my bookmarks from my desktop to my portable. Both computers are on a network. Running Firefox 3.5.3 on both machines. Operating system is Windows XP Pro service pack 3.

    Bookmarks > Organize Bookmarks -> Import & Backup - Export HTML... -
    ''then''
    Bookmarks > Organize Bookmarks -> Import & Backup - Import HTML... - from file

Maybe you are looking for

  • Multiple gateway on the same network with VPN

    Dear all, i have problem of multiple gateway with VPN, please refer to the attached pics: PC B cannot ping PC A if PC A's gateway is not pointing to the VPN Router if i change the PC A default gateway to 192.168.1.2 ( VPN router) , then PC B can ping

  • Multiple Qaawses but use only one Qaaws at a time

    Hi, In Dashboard , I have two Qaawses (Qaaws1 and Qaaws2). When I am trying to generate SWF file both the qaawses are running. My requirement is, in Excel file I will set a flag value in one cell (0/1). If the cell value is '0' then the Dashboard sho

  • Can't connect to wireless network on bootup like before

    Hello all. Well, I seem to have run into some difficulties here while configuring my system. The thing is I cannot connect to my wireless network on bootup anymore. I stayed about 4 months without using Arch Linux, then  I decided to reinstall it fro

  • Looking for competent docking station for iPhone 3GS

    I'm having a terrible time finding a good docking station for my new iPhone 3GS. Before I bought it I used a 5th generation iPod 60GB. I have a belkin usb hub/dock for it that works great. When my computer is off it charges the iPod, and it's a power

  • XSLT Transformation from XML to ABAP  field

    Hi all, How can I retrieve my XML node's value (EMPLOYEE) XML to an ABAP variable (W_KUNNR)   DATA w_kunnr TYPE string.   CONCATENATE     '<services>'     '<Myservice>'     '<APPLICATION>APPLI1</APPLICATION>'     '<SERVICE>SERV1</SERVICE>'     '<TOSA