Backup Host Component via wbadmin

Hi everyone,
I am using 2012 R2 and I am trying to backup the Host Component via wbadmin:
wbadmin START BACKUP -backupTarget:E: -hyperv:"Host Component"
but I have not being successful so far. The error I get is:
ERROR - Command syntax incorrect. Error: Component. See the command syntax below.
Any ideas anyone please?

Hi,
Sorry to be unclear in my description.
-hyperv is of course a supported parameter.
In your command line you mentioned: 
wbadmin START BACKUP -backupTarget:E: -hyperv:"Host Component"
and the error said "Error: Component". So I'm thinking if the error is caused by the words you typed after -hyperv - "host component" is obviously a not supported name in -hyperv. 
If you have any feedback on our support, please send to [email protected]

Similar Messages

  • Whats the best way to transfer everything from my old macbook pro to a new mac mini, i have a external hard drive which i backup to regularly via time capsule

    whats the best way to transfer everything from my old macbook pro to a new mac mini, i have a external hard drive which i backup to regularly via time capsule

    Check out > OS X Lion: How to use Migration Assistant to transfer files from another Mac

  • Is there a way to expose properties or styles from a skin part to the host component?

    For example, I have this skin that contains a border around an image. I would like to be able to let the user set the cornerRadius.
    Skin:
    <fx:Metadata>
    <![CDATA[
    [HostComponent("spark.components.Image")]
    [Style(name="cornerRadius", inherit="inherit", type="int")]
    ]]>
    </fx:Metadata>
    </code>
    I would like to see that style show up in code complete in a UIComponent that uses this skin,
    <s:Image x=”10″ y=”30″ width=”50″ cornerRadius=”12″ skinClass=”ScaleImageSkin” height=”50″ source=”avatar.png”/>
    However the style “cornerRadius” throws an error at compile time.

    The only way I've found to pass properties or styles to a skin is through CSS or extending the host component and adding the styles or properties onto it. However this seems like a hack. Shouldn't the skin expose it's configuration to the host component? I think that is what Flex themes are doing.

  • Two ESAs where the backup hosts the ISQ with CM (KB: 610)

    Hi,
    last Tuesday we had a small discussion at the IronPort Partnerday about the Knowledge Base article 610
    "Configure two ESAs where the backup hosts the ISQ with Centralized Management".
    The main problem with the proposed solution is that you have to break your clustered configuration for HAT/RAT. Which means you need to configure white-/blacklisted Servers and Recipients in the Access table on both machines again. Therefor I would like to suggest a new way of doing this, which leaves me the benefit of the Centralized Managment for the cost of having an idle listener:
    Instead of adding the Listener only on one appliance, you add the listener to the Cluster. This will not break anything on the Non-ISQ Box, as there is no traffic routed to this Machine. And don't forget to add the IP Address of the backup ESA into the Incoming Relays list, otherwise you could break your reputation. :)
    If you have a special IP Address for the ISQ, you can also add this Interface on the second Box with the same name.
    Any comments welcome,
    Adrian Woizik

    I have several systems configured that way, never had a problem with them. You can't sell centralized management if the first thing you need to do is break the cluster config again ;)
    I can't seem to find #610 anymore but i remember that some older KB articles said to use a message filter like this to send spam received on the QuarantineListener to the spam quarantine:
    if (recv-listener == "QuarantineListener") {
    alt-mailhost("the.euq.queue");
    Don't use that filter because its broken, you won't be able to release messages from the quarantine anymore. Instead I use something like this:
    if (recv-listener == "QuarantineListener") {
    skip-spamcheck();
    skip-viruscheck();
    skip-vofcheck();
    insert-header("X-Ironport-Quarantine", "Quarantine");
    deliver();
    The only unfortunate side-effect of hosting the spam quarantine on one box is that the reporting is wrong again. Any message sent this way is logged as a clean message.
    I'm curious about your comment about breaking your reputation. How would this setup affect your reputation? You're not scanning for spam again on the second box, so even if it shares statistics, won't it just report that a lot of clean mail was received from the first box?

  • My Seagate external 250GB hard drive ejects improperly without command.  I am trying to use Time Machine to backup my macbook via usb cable...  I keep getting the message that the disked ejected improperly...  Any solutions...

    My Seagate external 250GB hard drive ejects improperly without command.  I am trying to use Time Machine to backup my macbook via usb cable...  I keep getting the message that the disked ejected improperly...  Any solutions...

    You are not alone. Thousands have this problem, on various models of Macs. Short answer, it has something to do with the disk going to sleep (possibly?). You can't do anything about it and Apple won't address the problem. Maybe you should buy a time capsule. Just keep giving them money and use their proprietary equipment.
    For a more complete answer, see this thread (all 65+ pages of it with NO SOLUTION IN SIGHT... except for some 3rd party solutions that sometimes work, sometimes don't): Disk Drive ejecting itself

  • I have recently purchased the highest storage but was unable to backup my phone via icloud, the button on my mphone to backup on icloud is grey out, anyone knows how to resolve the problem?  What's the point of purchasing the biggest storage?

    i have recently purchased the highest storage but was unable to backup my phone via icloud, the button on my iphone to backup on icloud is grey out, anyone knows how to resolve the problem?  What's the point of purchasing the biggest storage?

    First check that your device is correctly connected to the wifi/internet (settings > wifi)
    If your back up continually fails, you might try turning off back up on your mobile device (settings > iCloud > storage & backup) and then deleting the backup file from iCloud by swiping the backup file on the mobile device (settings > iCloud > storage & backup > manage…) and then turning back up on again.
    If this doesn't help, try turning off some items for back up in a pattern to try to establish if your problem is being caused by specific data on your device.
    Being able to back up to the cloud can be very useful, especially if you don't have access to a computer or have infrequent access to one, however unless you specifically need to use iCloud for back up, you will find backing up to iTunes significantly more convenient and possibly more reliable.
    More about iCloud v iTunes Back Up

  • Backup to External Via Airport, not listed as available in Time Machine.

    I would very much like to set up a time machine backup using my external hard drive. I don't have time capsule, but I have airport connected to an external hard drive. Also, I would prefer that time machine only keep tabs on one folder, the Documents folder. My documents are all that I need backed-up, not a lot of space required, but vital info that I hate having to backup everyday. Nothing else needs a daily backup. Is there a way to do this?
    Thanks for the help!

    Time Machine backups to AirDisks (e.g. USB HDD attached to Extreme) is unsupported, but has been successful by some. As well, once you decide to move your TM backups to an AirDisk, you cannot continue backing up to your previous TM backup. The format it saves to vs. a local HDD is different. The folder structure you see becomes a sparsebundle/disk image via the AirDisk.
    If you are interested in proceeding with your plan, check these links out:
    [http://discussions.apple.com/thread.jspa?messageID=8225748&#8225748]
    [http://discussions.apple.com/thread.jspa?messageID=8650723&#8650723]
    [http://jamesshore.com/Blog/How-to-Accelerate-Time-Machine.html]
    For excluding everything but your documents, open TM Preferences -> Options. Try to Select All, then deselect the folder you want to backup. Note that you will NOT be able to restore your Mac to its current state in the event of an internal HDD failure. Just your Document folder is backed up.

  • I have both my iPhone and iPad backing up via iCloud, but they are not sharing the information between devices ie if I purchase an app on one it does not transfer to the other although the backup is successful via iCloud.

    I have both my iPhone and iPad backing up via iCloud but the data is not being shared between the devices. When I backup it appears to be working as there are no error messages but the data is not shared between each. Any help would be great as this is very frustrating.

    Backing up to icloud is not the same as syncing data between devices.  Go to
    Settings>Store.  Turn on the automatic downloads that you want on that screen.
    Settings>iCloud.  Turn on the features you want to sync between devices.

  • Performing backup of SQL via backup interface

    Hello all,
    First of all , let me tell you that i don't have much knowledge regarding SQL so, excuse me in advance for any stupid questions.
    Here is my situation:
    I have SQL 2005 Standolne server. On the server there are two interfaces(NICs) one is so called production(prod) and backup(bkp). 
    The PROD is for main communication and it's with assigned FQDN - XYZ. The other one is for backup traffic and it's with FQDN - XYZ-b. The IPs are , PROD - xxx.xxx.1.xxx, BKP - xxx.xxx.2.xxx
    I'm using a HP Data Protector software , version 7.03, with latest patched installed on the backup software.
    Unfortunately when i'm trying to create a backup(there are 3 ways for authentication - Integrated, Windows and SQL server)  with the BKP interface i receive following error:
    *RETVAL*8010
    The user name which is used by the bkp software is added into the SQL server as admin, also it's with local admin from OS point of view. 
    So my question is , are there any way to perform backup via XYZ-B interface ?
    Thank you in advance !!!

    Hello,
    Seems to be more a HP Data Protector issue, see
    http://h30499.www3.hp.com/t5/Data-Protector-Support-and-News/Integration-cannot-be-configured-error-on-HP-data-protector/td-p/5961279#.U89zyGeKD5w
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Accessing the host component in a PDF navigator

    Hi all,
    I'm trying to access the host (i.e reader or acrobat) in a PDF navigator (Portfolio) created in flash builder.
    I have seen numerous examples that override the host set method by doing the following:
    public function set host(host:INavigatorHost):void
                                                 if(host != null) {
                                                           _host = host;
                                                           startEverything();
                                                 } else {
                                                           _host = null;
                                                           //Alert.show("Navigator Ending");
    Then the _host:INavigatorHost is used to access the host application.
    When I try to do this using Flex 4.1 it tells me that this method is not marked for override.
    If i just try to access 'host' it tells me that it is 'write-only'.
    Any help at all, or another method would be greatly appreciated.
    Thanks,
    Chris

    Hi,
    there are several possibilities to achieve that.
    For example
    - JDO
    - SQLJ
    - direct access to the database via JDBC from your WD Controller (not recommended).
    For more information about JDO see at
    /program files/SAP/JDT/eclipse/examples
    There you will find the tutorial J2EE_GettingStartedJDO
    For general information about Java persistence have a look at
    http://help.sap.com/saphelp_erp2004/helpdata/de/61/fdbc3d16f39e33e10000000a11405a/content.htm
    Regards
    Helmut

  • How to backup/export bookmarks via command line or BAT

    == Issue
    ==
    I have a problem with my bookmarks, cookies, history or settings
    == Description
    ==
    i am looking for a way to backup/export the bookmarks.html file via a BAT or VBS script, due to the random characters assigned to each profile. the best i can come up with is:
    <code>for /f "tokens=1,2* delims==" %%a in (
    'type "%AppData%\Mozilla\Firefox\profiles.ini"^|findstr/ib "path=Profiles/" ^2^>nul'
    ) do (
    if errorlevel 0 set profdir=%%~b
    echo %profdir%
    echo %profdir:~9,16%
    pause</code>
    but i still cant get it to go to the right location, can someone make this easier for me?
    <br/> <br/>''(Edited by Moderator: placed code in a CODE block - c)''<br/> <br/>
    == Troubleshooting information
    ==
    Application Basics
    Name
    Firefox
    Version
    3.6.3
    Profile Directory
    Open Containing Folder
    Installed Plugins
    about:plugins
    Build Configuration
    about:buildconfig
    Extensions
    Name
    Version
    Enabled
    ID
    Personas
    1.5.2
    true
    [email protected]
    FoxTab
    1.3
    true
    Adblock Plus
    1.1.3
    true
    Java Console
    6.0.20
    true
    Java Quick Starter
    1.0
    true
    [email protected]
    Modified Preferences
    Name
    Value
    accessibility.typeaheadfind.flashBar
    0
    browser.history_expire_days
    20
    browser.places.smartBookmarksVersion
    2
    browser.startup.homepage
    http://research.home.ge.com/
    browser.startup.homepage_override.mstone
    rv:1.9.2.3
    extensions.lastAppVersion
    3.6.3
    network.cookie.prefsMigrated
    true
    network.http.proxy.version
    1.0
    places.last_vacuum
    1274892525
    print.print_printer
    \\nsk1prn01\2b16_mfd_p
    print.printer_\\nsk1prn01\2b16_mfd_p.print_bgcolor
    false
    print.printer_\\nsk1prn01\2b16_mfd_p.print_bgimages
    false
    print.printer_\\nsk1prn01\2b16_mfd_p.print_command
    print.printer_\\nsk1prn01\2b16_mfd_p.print_downloadfonts
    false
    print.printer_\\nsk1prn01\2b16_mfd_p.print_edge_bottom
    0
    print.printer_\\nsk1prn01\2b16_mfd_p.print_edge_left
    0
    print.printer_\\nsk1prn01\2b16_mfd_p.print_edge_right
    0
    print.printer_\\nsk1prn01\2b16_mfd_p.print_edge_top
    0
    print.printer_\\nsk1prn01\2b16_mfd_p.print_evenpages
    true
    print.printer_\\nsk1prn01\2b16_mfd_p.print_footercenter
    print.printer_\\nsk1prn01\2b16_mfd_p.print_footerleft
    &PT
    print.printer_\\nsk1prn01\2b16_mfd_p.print_footerright
    &D
    print.printer_\\nsk1prn01\2b16_mfd_p.print_headercenter
    print.printer_\\nsk1prn01\2b16_mfd_p.print_headerleft
    &T
    print.printer_\\nsk1prn01\2b16_mfd_p.print_headerright
    &U
    print.printer_\\nsk1prn01\2b16_mfd_p.print_in_color
    true
    print.printer_\\nsk1prn01\2b16_mfd_p.print_margin_bottom
    0.5
    print.printer_\\nsk1prn01\2b16_mfd_p.print_margin_left
    0.5
    print.printer_\\nsk1prn01\2b16_mfd_p.print_margin_right
    0.5
    print.printer_\\nsk1prn01\2b16_mfd_p.print_margin_top
    0.5
    print.printer_\\nsk1prn01\2b16_mfd_p.print_oddpages
    true
    print.printer_\\nsk1prn01\2b16_mfd_p.print_orientation
    0
    print.printer_\\nsk1prn01\2b16_mfd_p.print_pagedelay
    500
    print.printer_\\nsk1prn01\2b16_mfd_p.print_paper_data
    1
    print.printer_\\nsk1prn01\2b16_mfd_p.print_paper_height
    11.00
    print.printer_\\nsk1prn01\2b16_mfd_p.print_paper_size_type
    0
    print.printer_\\nsk1prn01\2b16_mfd_p.print_paper_size_unit
    0
    print.printer_\\nsk1prn01\2b16_mfd_p.print_paper_width
    8.50
    print.printer_\\nsk1prn01\2b16_mfd_p.print_reversed
    false
    print.printer_\\nsk1prn01\2b16_mfd_p.print_scaling
    1.00
    print.printer_\\nsk1prn01\2b16_mfd_p.print_shrink_to_fit
    true
    print.printer_\\nsk1prn01\2b16_mfd_p.print_to_file
    false
    print.printer_\\nsk1prn01\2b16_mfd_p.print_unwriteable_margin_bottom
    0
    print.printer_\\nsk1prn01\2b16_mfd_p.print_unwriteable_margin_left
    0
    print.printer_\\nsk1prn01\2b16_mfd_p.print_unwriteable_margin_right
    0
    print.printer_\\nsk1prn01\2b16_mfd_p.print_unwriteable_margin_top
    0
    privacy.sanitize.migrateFx3Prefs
    true
    security.enable_ssl2
    true
    security.enable_tls
    false
    security.warn_viewing_mixed
    false
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
    == Plugins installed
    ==
    *-Adobe PDF Plug-In For Firefox and Netscape 8.2.2
    *Default Plug-in
    *NPRuntime Script Plug-in Library for Java(TM) Deploy
    *Shockwave Flash 10.0 r45
    *Adobe Shockwave for Director Netscape plug-in, version 11.5
    *GEPlugin
    *4.0.50401.0
    *Google Update
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    *DRM Netscape Network Object
    *Npdsplay dll
    *DRM Store Netscape Plugin

    You can make Firefox 3 create an automatic HTML backup (''bookmarks.html'') when you exit Firefox if you set the pref [http://kb.mozillazine.org/browser.bookmarks.autoExportHTML browser.bookmarks.autoExportHTML] to ''true'' on the '''about:config''' page.
    That backup is created by default in the profile folder as bookmarks.html, but you can set the file name and path via the pref [http://kb.mozillazine.org/browser.bookmarks.file browser.bookmarks.file] on the about:config page.
    See http://kb.mozillazine.org/Export_bookmarks

  • New Oracle DBA - Need help with backup & restore procedure via RMAN

    Hello everyone,
    I've been a SQL Server DBA for 12 years now, but new to the Oracle space. My first assignment at work was to refresh our training environment with production. So with that said, I took a full backup of our production database via RMAN and backed up the Control File. I then copied both the Control File and full backup from our production environment to training. I followed the procedures listed in the URL below:
    http://www.dba-oracle.com/t_rman_clone+copy_database.htm
    I then connected to RMAN and executed a 'show all' which is as follows:
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    The CONFIGURE CONTROLFILE AUTOBACKUP was set to ON but received a message that the database needed to be mounted, so, I mounted the database and made the changes, but when I shutdown the database and performed the startup nomount again, the settings were gone. Are these settings valid only when the database is mounted? How can I successfully refresh this training environment with production data? I'm at a standstill here so any help would be very much appreciated.
    Thank you,
    Pete

    The CONFIGURE CONTROLFILE AUTOBACKUP was set to ON but received a message that the database needed to be mounted, so, I mounted the database and made the changes, but when I shutdown the database and performed the startup nomount again, the settings were gone. These settings are persistent settings.So these information retain in control files.To reading information from control files database instance must be MOUNT or OPEN stage.Due to you have mount instance and try SHOW ALL command through RMAN.
    Are these settings valid only when the database is mounted? Not only MOUNT also OPEN stage.
    How can I successfully refresh this training environment with production data? I'm at a standstill here so any help would be very much appreciated.
    There are several ways like duplication.But you take full backup from production database using BACKUP DATABASE through rman.In this case you will get also AUTOBACKUP for controlfiles/spfiles.Then copy these backup files and all available archive logs to training server and perform below steps.
    1) You have set properly ORACLE_HOME and ORACLE_SID environment variable.After that first need restore spfile as
    rman target /
    startup force nomount;
    restore spfile from 'autobackup_location';
    startup force nomount;2) Now you have to restore controlfiie as
      rman>restore controlfile from  'autobackup_location';
    rman>alter database mount;
      3) Now need catalog(it means register) all backup files and archivelogs in new restored controlfile as
       rman>catalog start with 'backuplocation';
       4) Finally you can restore and recover your database as below
       rman>restore database;
    rman>recover database;
    rman>alter database open resetlogs;
       If you want restore database to new location then before executing RESTORE DATABASE command you can use SET NEWNAME FOR DATAFILE clause.Firstly refer backup recovery guide in online documentation.

  • Skins that effect the host component behaviour.

    There was an interesting question that was raised in the pre-release forums about what is the appropriate way to handle animations between the skin and its host. Basically the issue was if there is an animation in the host and another in the skin what would be the best way to code it so that both animations ran in parallel, My thoughts are why not do it all in the skin. this example animates a container by resizing it and centering it in the application.
    I figured it would be an interesting topic for those that are trying adding extra component functionality into the skin.
    @PD - Maybe you could apply a little of your magic to something like this and add it your blog.
    David
    The App
    =============================================================
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/halo"
      creationComplete="application1_creationCompleteHandler(event)" width="100%" height="100%">
    <s:layout>
    <s:BasicLayout/>
    </s:layout>
    <fx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    import mx.events.FlexEvent;
    protected function application1_creationCompleteHandler(event:FlexEvent):void
    menu1.verticalCenter=height/2*-1 + 35; 
    menu1.horizontalCenter=width/2*-1 + 110;
    ]]>
    </fx:Script>
    <s:SkinnableContainer id="menu1" left="10" top="10" width="200" height="50"
    skinClass="SkinnableContainerSkin2" backgroundColor="#A16969">
    </s:SkinnableContainer>
    </s:Application>
    =============================================================
    The Skin
    =============================================================
    <?xml version="1.0" encoding="utf-8"?>
    <s:Skin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabled="0.5" creationComplete="skin1_creationCompleteHandler(event)">
    <fx:Declarations>
    <s:Parallel id="sizer">
    <s:Animate target="{hostComponent}" duration="2000" repeatCount="1">
    <s:SimpleMotionPath id="setheight" property="height" valueTo="500"/>
    </s:Animate>
    <s:Animate target="{hostComponent}" duration="2000" repeatCount="1">
    <s:SimpleMotionPath id="setvertical" property="verticalCenter" valueTo="0"/>
    </s:Animate>
    <s:Animate target="{hostComponent}" duration="2000" repeatCount="1">
    <s:SimpleMotionPath id="sethorizontal" property="horizontalCenter" valueTo="0"/>
    </s:Animate>
    </s:Parallel>
    </fx:Declarations>
    <fx:Metadata>
        <![CDATA[
            [HostComponent("spark.components.SkinnableContainer")]
        ]]>
        </fx:Metadata>
        <fx:Script fb:purpose="styling">
            <![CDATA[       
    import mx.events.FlexEvent;
    import mx.core.FlexGlobals;
    private var Vert:int;
    private var Horz:int;
                override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
                    bgFill.color = getStyle("backgroundColor");
                    bgFill.alpha = getStyle("backgroundAlpha");
                    super.updateDisplayList(unscaledWidth, unscaledHeight);
    protected function resizeMe(e:MouseEvent): void
    Vert = int(FlexGlobals.topLevelApplication.contentGroup.height/2*-1)+35;
    Horz = int(FlexGlobals.topLevelApplication.contentGroup.width/2*-1)+110;
    if (hostComponent.height < 51)
    setheight.valueTo=500;
    setvertical.valueTo=0;
    sethorizontal.valueTo=0;
    else
    setheight.valueTo=50;
    setvertical.valueTo=Vert;
    sethorizontal.valueTo=Horz;
    sizer.play();
    protected function skin1_creationCompleteHandler(event:FlexEvent):void
    Vert = int(FlexGlobals.topLevelApplication.contentGroup.height/2*-1);
    Horz = int(FlexGlobals.topLevelApplication.contentGroup.width/2*-1);
            ]]>       
        </fx:Script>
        <s:states>
            <s:State name="normal" />
            <s:State name="disabled" />
        </s:states>
        <s:Rect left="0" right="0" top="0" bottom="0">
            <s:fill>
                <s:SolidColor id="bgFill" color="0x00DDDD"/>
            </s:fill>
        </s:Rect>
        <s:Group id="contentGroup" left="0" right="0" top="0" bottom="0" minWidth="0" minHeight="0" click="resizeMe(event)">
            <s:layout>
                <s:BasicLayout/>
            </s:layout>
        </s:Group>
    </s:Skin>

    This is a good question.
    There's no hard and fast rule to apply which says "this belongs in the skin" vs. "this belongs in the component".  Similarly, there are also no hard and fast rules around when to use a the new skinning architecture vs. just creating a custom component.  Just do whatever you feel comfortable with and makes your job easier.  At the end of the day, it's about productivity and not living up to ideals.  That said, there are probably some easier and more logical ways to do some things.
    On the skinning architecture vs. custom component debate, with a SkinnableComponent we have a clear separation of the component properties and behavior on one side and the look and feel of the component on the Skin side.  Also, there's a clear contract we use to talk back and forth to one another.  The reason for the separation between the Skin and the SkinnableComponent is so that we can have one Button SkinnableComponent and multiple Skins for that Button which all tweak the visual appearance of it.
    It doesn't make sense for every component to be skinnable.  If you know what your component is going to be and look like and don't need the extra flexibility skinning provides, then you can get rid of the extra overhead that skinning requires (like having 2 classes).  An example custom component is:
    <s:Group>
    <s:Rect>
    </s:Rect>
    <mx:Image src="..." />
    <s:Panel skinClass="myCustomSkinClass">
    </s:Panel>
    </s:Group>
    If you want more flexibility and want the ability to easily change the look and feel of the component (i.e. skin it), then you'd extend SkinnableComponent, fill out the skinning lifecycle methods, and create a default Skin for its appearance.
    Now, when you're building a SkinnableComponent, there's always a question of what to put in the component vs. what to put in the skin.  In general, we try to put the core properties and behaviors in the component and anything visual in the skin.  However, another guideline to consider is whether all skins would want this behavior.  If so, then it makes sense (and makes your life easier) to put it in the SkinnableComponent rather than the Skin.  We do this in the framework for components like VSlider, where the logic for positioning the y-axis of the thumb is in the component and not the skin, even though it's a "visual" thing.  We also have discussed how we would build up a ColorPicker component, and I think the way we would go about it is by putting a lot of the "visual" logic in the component because otherwise we'd have to duplicate it across all skins.
    Now, the other question you guys are asking here are "when do I bake effects (or any behavior) in to the component (either in the skin or in the SkinnableComponent AS class) vs. when do I declare effects alongside the component".  Again, I think the answer to that is whether you want all your components to have this behavior.  If that was the case, then I'd lose no sleep baking it in to the component.  However, if it's not the case, then I'd make the end-developer delcare it when they use your component, like:
    <s:MyCustomComponent id="myComponent" />
    <s:Resize id="resizer" widthTo="100" heightTo="50" target="{myComponent}"/>
    I would think most of the time, you probably wouldn't want to bake an effect like that in to the component, especially because it has some sizing information on it.  However, we have some effects baked in to some of the framework components, like when the thumb of a Slider moves around due to someone clicking on the track.  I think it's fine that it's baked in to the component, but I do think it should probably be stylable so that a user can customize it (that's on our list of lower-priority things to do btw).
    The framework has definitely evolved.  I think we started out with a more purist attitude and wanted a clear separation between the skin and the component.  However, as we built out components, we realized it's not always practical to do that.  Similarly, we wanted our skins to be pure MXML; however, for usability reasons, we decided that our skins should be styleable, and that requires a little bit of ActionScript code.  Border is a great example where it doesn't really follow a lot of these guidelines, but it's just a styleable component; however, this component makes other people's jobs easier.  At the end of the day, it's about productivity and usability, and hopefully the Spark architecture is a step in the right direction.
    Anyways, I hope that helps some.  These are just some guidelines.  As people play around with the architecture more, I'm sure some other people will have some good advice to share as well.
    -Ryan

  • Ignoring cRIO Host Control via Network Variables

    I have a PC Host application that defines the operating state of my cRIO using Network Variables.  In some cases the cRIO must ignore the Host control and define its own operating state.  As an example, think of a simple boolean ON/OFF front panel control switch.  The user operates the front panel switch and it's value is assigned to a Network Variable which the cRIO reads and reacts to.  On a CompactDAQ platform for example, my LabVIEW application could use the Property Node to define the value of the ON/OFF front panel switch and also disable the control so the user could not change it.  I need this functionality in the cRIO world.  However, the cRIO cannot directly control the Host's front panel controls.  Thus, I'm looking for an elegant way to handle this scenario.  One solution is to use a Network Variable to communicate to the Host to redefine the value and disable it's front panel control, but there appears to be a race condition here - the cRIO needs to ignore the current value of the control as defined by the Host while in the meantime the cRIO is communicating via a Network Variable to the Host to redefine and disable the control.  Hopefully this is not confusing and any ideas would be greatly appreciated.

    You need additional handshake variables to toggle the control from Host to cRIO.
    Implement a request and acknowledge control szenario.
    Hope it helps
    Christian

  • 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.

Maybe you are looking for

  • Source system error - RFC connection failed

    Hi Gurus,               I have installed ECC6 on my PC but not when i am trying to created the DS its not allowing me its saying appl comp hierarchy for source susyem "T90*" doesnt not exist. so tried going to source system -> done a check for my sou

  • Adobe plugin for Outlook in 2013 unable to configure to load at startup

    Windows 7 Pro, Office 2013 Home and Business I don't see a registry key for the plugin, there's no properties in Outlook for the plugin Manually loads properly and functions properly, however unable to configure it to load when Outlook starts. Any id

  • My iPhone 5 remainder is not working

    MMy iPhone 5 remainder is not working .... I am not able to add anything in remainder due non function of + symbol

  • Re: Reporting Fault

    For a 'communications company' BT must be the WORST at being able to simply solve a problem. There are nothing but hurdles. God help old people! How do you report 'phishing? Apparently from a BT company! Time-consuming and hurdles. I want an engineer

  • Monthly subscription

    Hi everyone!! Please help!!!!, I have already paid my monthly subscription and it suppose to be working today, but it isnt letting me do any call, Someone could tell me where is the online support? Hello Skype why I cannot use my monthly subscription