ECMA2 - How do you determine the selected status of an attribute?

This is an EMCA 2.0 Call Import question..
How do we detect when a user has deselected an attribute?
If someone deselects an attribute and I attempt to do an AttributeChange.CreateAttributeAdd()
 for the attribute, I get a
Microsoft.MetadirectoryServices.NoSuchAttributeInObjectTypeException: Attribute "FIRST_NAME" is not usable with the object type in question.
For now, I’m catching the exception and moving to the next attribute. Exception handling is very expensive and there must be a more elegant way to handle this.
Ideas?
I looked at the attribute inside the schema object and there's no difference in the attribute values - selected or not
On a slightly related note, the build-in MA's show some attributes by default, and others require you to select the 'Show All' to see (such as the AD MA) There doesn't seem to be a way to do this in ECMA2
Frank C. Drewes III - Architect - Oxford Computer Group

Hi Frank
Did you ever figured out if there was a way of determining if an attribute is selected in the schema?
I have a problem now with FIM build 4.1.3508 that isn't even giving me the
NoSuchAttributeInObjectTypeException exception any longer so now I'm really stuck with handeling attributes from the datasource that are not included in the MA attribute selection.
All the best!
Patrik

Similar Messages

  • How do you determine the optimal size for Mozilla Firefox?

    How do you determine the optimal size for cache in Mozilla
    Firefox? I am using Firefox 7.0.1 on a 64-bit Windows 7 Ultimate operating system with 3GB RAM and 300 GB hard drive, but I have other computers running Windows XP. If the answer doesn't apply to all current versions of Firefox on all supported Windows operating systems, please explain the differences. Is there a formula for calculating the best cache size?

    I found that the best idea is to let Firefox decide that itself.

  • How do you determine the firmware version for a laptop docking station?

    How do you determine the firmware version of a HP docking station?
    Laptop Model: HP 2740p
    OS: 64bit Windows 7
    Expansion Base: 2740 Ultra Slim Expansion Base WA995AA#ABA
    Thank you for any assistance.
    Alvin

    atenpo wrote:
    How do you determine the firmware version of a HP docking station?
    Laptop Model: HP 2740p
    OS: 64bit Windows 7
    Expansion Base: 2740 Ultra Slim Expansion Base WA995AA#ABA
    Thank you for any assistance.
    Alvin
    WA995AA#ABA shows to be a hard drive, not a docking station

  • How do you determine the picture that is shown on iTunes for your podcast?

    How do you determine the picture that is shown on iTunes for your podcast? Is that done in iWeb or Garagetunes?

    That is a supported format,
    Pull the battery while the device is ON, replace after a minute, Let the device reboot 1-3 min,
    see if the problem is fixed,
    If not we may have to reload the device OS to get back the missing option.
    Thanks,
    If you need more info please ask!  If not please resolve the thread using the options by the Kudos’ star, Just place the check in the Post that answered your question, Thanks
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • How do you Determine the Largest Size/Fastest Speed Hard Drive

    In general, how do you determine the maximum hard drive size/speed you can upgrade to?

    As long as the drive your are considering physically fits as already stated there is no maximum size you can install. Please complete your profile so we know what machine you have.
    If your machine is covered by a warranty or AppleCare I would recommend against installing another HD as this may invalidate the warranty. I would recommend in that case using a Firewire 800 external HD instead.
    Regards,
    Roger

  • HT201209 How do you determine the funds left on an itunes card?

    How do you determine the funds left on an itunes card?

    If it hasn't been redeemed, the value is the face value.
    If it was redeemed, the value on the card is zero. 
    When you redeem an iTunes gift card, the full value is immediately transferred as a credit to the account you are using when you do the redemption.  After that point, the card is worthless.

  • Mailexample.sql how do you determine the file type?

    I'm using the mailexample.sql which explains how to use the demo_mail wrapper package for utl_smtp. There's a procedure for attaching text files and a procedure for attaching binary files. I've got binary files to attach to email successfully.
    How can I determine the file type so that I can use the attach_text procedure when attaching text files rather than the procedure for attaching binary files?
    Sandy

    Watch out! I think there is a bug in that code :-
    bug with PL/SQL Sample - maildemo.sql
    To answer your question - the usual way of determining a file type is to look for 'magic numbers' in the file that indicate its type. For example, Windows exe files often (always?) begin with the two letters 'MZ'. Zip files begin with 'PK'; Rar archives begin with 'Rar!'. Text files can begin with anything, and do not have any characteristic marker, but USASCII7 (which is what the format that routine is designed for - I think), is a characterset that only uses the first 7 bits of the byte. You could read the file, and if you find any bytes > 127, then you know it is not a USASCII7 file. I have seen various programs that 'sample' the first 64 or 256 bytes of a file instead of reading the whole file, and they usually get it right.
    Hope this helps.
    Takmeister

  • How do you determine the article ID from the long guid filename format?

    It would be very useful sometimes to determine the article Id number from the guid name or to get the guid name from the
    article ID number.
    Sometimes a log error references a guid name. Which isn't too bad because you can go to the distribution point and look through the folders and or install the contents.
    The other way around, finding a specific update from a list of guid number folders can be a bit of a job.
    Thanks

    I put together this SCCM admin console query:
    I set the Querys object Type :  <unspecified>  
     then I pasted in this:
    SELECT SMS_SoftwareUpdate.ArticleID,
    SMS_SoftwareUpdate.BulletinID
      FROM SMS_CIToContent
      INNER JOIN SMS_SoftwareUpdate
      ON SMS_CIToContent .CI_ID =SMS_SoftwareUpdate.CI_ID
    Where SMS_CIToContent.ContentUniqueID =##PRMMS_CIToContent.ContentUniqueID##
    I patched this together from several sources, but was largly able to retain my ignorance about the how and whys of
    Extended WQL and its join syntax. It seems very similar to SQL, (from which its derived, I'm told), but you can't just type in SQL code and expect it to work.
    I thought you might know of a media source for learning and using  WQL and Extended WQL?
    Thanks

  • How can you determine the absolute path to a dynamically created NetStream object?

    We are trying to implement video captioning with a freeware component, ccforflash. This requires us to provide an absolute or relative path  to our NetStream object. How can we determine this path in Flash CS5 AS3?
    From the CCforFlashCS5 documentation:
    "2. Object name and path
    Type the name and path.  This is the instance name of the object with which CCforFlashAS3 will synchronize. It must be spelled correctly, since CCforFlashAS3 will query the object with this name for timing information in order to synchronize the captions. The path must also be included; either relative to the CCforFlashAS3 component (i.e. this.parent) or the absolute path from the main level of the movie (root)."

    It would be easier if the NetStream object was created on an easily identifiable place on the timeline. This player has an MVC architecture. The NetStream object is created in a subclass to Model class, which is itself a subclass of the EventDispatcher object. The View class access it via an interface.
    As you can guess, it's not that straightforward to determine where the NetStream object is located on the timeline. This is compounded by the fact that the NetStream object does not have a name property.
    I've tried methods like these, but they only work for the DisplayObject class:
    public static function displayObjectPath( avDisplayObject : DisplayObject ) :String
    var lvPath:String = "";
    do
    if( avDisplayObject.name ) {
    // var obj_name:String = (avDisplayObject.name == 'root1') ? 'root' : avDisplayObject.name;
    if (avDisplayObject.name != 'root1') {
    lvPath = avDisplayObject.name
       + ( lvPath == "" ? "" : "." + lvPath );
    } else {
    trace("displayObjectPath() NO NAME avDisplayObject="+avDisplayObject);
    } while( avDisplayObject = avDisplayObject.parent );
    return lvPath;
    } // displayObjectPath
    private  function showChildren(d:DisplayObjectContainer):void {
    trace("showChildren()");
    if (d.numChildren>0) {
    for (var c:Number = 0; c < d.numChildren; c++) {
    trace("showChildren c=",c," name=",d.getChildAt(c).name);

  • How do you determine the index of an element in a cluster?

    I've got a small program that I put together, as I'm just trying to get up to speed on Labview.  I have a cluster boolean buttons and for some reason the top buttion is coming through as Index 3.  There are four buttons in the cluster, but for some reason, there's been a shift.  The top one should be Index 0.  How do I get things corrected?  I can't see how to determine the index of each button through Properties.
    Thanks
    Solved!
    Go to Solution.

    You can change the order required by just clicking the element by using a unbundle

  • How do you determine the size of a table in mb

    Hi,
    I have a table which holds a number of pdf docs - I need to find out how large the table is in mb
    How do you do it - is there an sql command ?
    Thanks in anticicpation
    SD.

    Many thanks ............
    select sum(bytes)/1024/1024
    from user_segments
    where segment_name in (select segment_name from user_lobs
    where table_name = 'SUPPORTING_DOCUMENT')
    or segment_name = 'SUPPORTING_DOCUMENT'
    This sql does the trick and tallies with some rather manual calcuations I have done in sql sum(doc_size) on the docs table.
    As a newbie please could you explain segments ?
    Thanks in anticpation
    SD.

  • How do you determine the IP address of an ethernet bridge?

    I've got a US Robotics ethernet bridge connected to a Mac running OS 10.3.9, and I'm trying to access the bridge's web browser interface. (Once I get to that interface, I'll be home free.)
    The bridge does not have a default IP address, the connection software on its CD-ROM is PC-only, and USR tech support is baffled. So how can I find out its address?
    I've tried looking in System Preferences -> Network, in System Profiler and in Network Utility, but it appears that they only display the computer's address, not the bridge's.
    Thanks in advance for any suggestions.
    iMac G3   Mac OS X (10.3.9)  

    I presume you are taking about the USR5430?
    No, it's the USR5432, which unfortunately doesn't have a default IP address (unlike the 5430). The USR site has this to say about connecting to the 5432:
    Macintosh and Linux Users
    The networking device that the Bridge is connected to probably has some form of Web User Interface where you can view a client list. Refer to your networking device's documentation to determine how to view this information.
    When you find the client list, locate the Bridge. You can do this by verifying the LAN MAC address that is on the bottom label of the Bridge and what appears in the client list. Write down the IP address of the Bridge for future reference.
    Open a Web browser, type in the IP address of the Bridge, and then press Enter. This will open the Web User Interface of the Bridge.
    The bridge only has an IP address when it is in
    configuration mode.
    That makes sense. And I am in fact trying to locate the bridge's address in order to configure it.
    Nevertheless, thank you for the suggestion.
    iMac G4   Mac OS X (10.4.6)  

  • How do you determine the distance between the QRS interval, as well as the time over that distance, in order to calculate a heart rate

    Hi!
    I have a continuous sample data acquistion VI created.  I collected an ECG signal from electrodes connected to an ELVIS unit.  Once I viewed my signal, I am curious to determine the heart rate.  I need to know how I can find the R-R interval, as well as the time over than span, so I can roughly determine the heart rate, continuously.  Each time a new ECG wave occurs, the heart rate should be modified automatically.  Some algorithm is required. 
    Thanks!

    Hello bmeecg,
    Welcome to the NI forums!  If I understand your question correctly, you wish to calculate the instantaneous heart rate from your ECG (the inverse of your R-R interval).  I would recommend using the Peak Detection vi (Functions Palette»Signal Processing»Signal Operation) to determine the location of the R wave (since it is the largest magnitude, you could set a threshold above your P and T waves so that it only picks up the R wave).  The calculation for time is in the detailed help for the Peak Detection vi (Ctrl+H»Hover over the VI»Detailed Help).
    I also found this forum which has a VI that reads an ECG and then does a lot of analysis. Maybe this would help you out as well.
    And just FYI, the Counter/Timer forum is oriented toward our counter/timer boards (e.g. the PCI-6602),  the Multifunction DAQ forum probably would have more of the type of people that could help with this issue.
    However, please post back here if you have more questions about this.
    Neal M.Applications Engineering       National Instruments        www.ni.com/support

  • How do you fix the selection wheel?

    I need help with my 5th generation ipod nano. How do I get my selector wheel to work? How do I get the selector wheel to select from the menu? It says I need to connect to power source and I do and once I plug it in, the nano is compltetely charged. Please help. Thanks

    Have you done any of the usual 5 R's of troubleshooting to try and resolve the problem?  If none of them work, it's likely hardware related. You'll need/want to have your iPod serviced either by Apple or a third party repair center.
    http://www.apple.com/support/ipod/five_rs/ipod5gen/
    B-rock

  • How do you change the Selected Email Client

    I have created a form that submits XML data by email.
    The first time you click the "Submit by Email" button, a dialogue box opens up and asks you to select one of 3 options: "Desktop Email Application", "Internet Email" or "Other".
    The problem that is occurring is that people will either not read the statement or out of ignorance select "Desktop Email Application" when in fact they have internet based email. There is no apparent way to go back and reset this preference.
    Does anyone know where this preference is stored and how to change it?
    Alternatively, does anyone know how to generate the XML file by an alternate method that could be saved and then attached to an email?
    This has been a major problem that has prevented the use of this form, any help would be greatly appreciated.

    This setting is handled by your Operating System.  On Winddows (Win7) you go to Control Panel->Programs->Default Programs->Set Default Programs.  On OS X you set this using the preferences of you email client.  For example launch Mail and go to Mail->Preferences->General.  The first setting is for default email client.
    Hope this helps.
    Jeff Canepa
    Software Quality Engineer
    Adobe Systems, Inc.
    [email protected]

Maybe you are looking for