Programmatic access to ODI metadata

Hi all,
is there API/SDK in ODI for metadata access?
For example:
1) documented ODI repository structure or public views;
2) using Jython for manipulating metadata;
3) etc.
Thanks,
Oleg

Hi Mukund,
Please check this SAP Note <a href="http://www.service.sap.com/sap/support/notes/199123">199123</a> (Word Settings).
It explains how to avoid this error message.
Best regards,
Ruediger

Similar Messages

  • To plugin developers: can I have access to any metadata field of the catalog in Print Module?

    Dear LR plugin developers,
    Maybe one of you has already implemented such a feature, maybe I can entice you to do so, if several people find this useful?
    Is there a forum for plugin feature requests? If so, forgive me for using this general user-to-user for this. Or would you look on the Adobe feature request forum for such input?
    I would like to have access to any metadata field of the catalog in Print module, ok if for all LR standard catalog fields, preferable if also for custom fields created by other plugins.
    I would want to add such a field underneath each image on a print page, e.g. something like complete exposure info.
    Doing so in export in a "Mogrify-like" way would also be ok, if metadata accessible. Fixed custom text obviously would be cumbersome, as limiting to 1 image to export at a time. Creating jpgs in export is ok,
    Print module would be preferable as I was hoping for more than one image per page=jpg.
    Now if such text could even be placed anywhere on a print template, possibly containing also free text, and formatable - you would have corrected the basic design flaw of the Book module imo...
    Cornelia

    Cornelia
    The problem one faces is that the SDK does not access Print or Book. You'll need to (ab)use the fields that are available, and I'd suggest you look at my Search and Replace plugin which can transfer values between fields. So you could move info from an inaccessible field to one that can be printed. Maybe use virtual copies which you can just discard afterwards?
    John

  • 11g How to programmatically access Calendar Rules

    Hi guys,
    I use BPM 11g and I'm trying to programmatically access calendar rules configuration for the organization in order to display labor dates in ADF task flow using Simple Expression like: now + 2 business days.
    Has anyone done this on 11g?
    Thanks in advance!

    Hi,
    Do NOT use ExternalContext.getRequest(), but ExternalContext.getRequestMap().put() in the backing bean. As for the programmatic access, as mentionned it might be a scope issue. When is your managed bean code executed exactly?
    ~ Simon

  • How to programmatically access requestScope objects

    Hi all,
    in the backing bean of a page I set some request attributes using the following code:
    FacesContext context = FacesContext.getCurrentInstance();
    HttpServletRequest request = (HttpServletRequest)context.getExternalContext().getRequest();
    request.setAttribute(<key string>,<MyCustomObject>);
    and then I navigate to another page. In this page I fill in some input text fields using EL expressions, like #{requestScope.<key string>.<property from MyCustomObject>}.
    However when inside the backing bean of this page, i try to programmatically access the requestScope using:
    FacesContext context = FacesContext.getCurrentInstance();
    <MyCustomObjectClass> var = <MyCustomObjectClass>context.getExternalContext().getRequestMap().get(<key string>);
    I get the code return null.
    What can I have done wrong that my code does not return the objects I pass through the requestScope while the EL expressions work?

    Hi,
    Do NOT use ExternalContext.getRequest(), but ExternalContext.getRequestMap().put() in the backing bean. As for the programmatic access, as mentionned it might be a scope issue. When is your managed bean code executed exactly?
    ~ Simon

  • Programmatic Access Not Working

    I'm having a problem with Outlook 2013 and programmatic access. A user is using a piece of software (called Exchequer - not important really but I list it for thoroughness). The software sends emails through Outlook. This has worked fine in the past but
    has suddenly stopped working.
    I have checked the user's Outlook settings for programmatic access (File - Options - Trust Center - Trust Center Settings - Programmatic Access) and it is currently set to "Warn me about suspicious activity when my anti-virus is inactive or out-of-date
    (recommended)". The anti-virus status is currently listed as "Valid". The anti-virus being used is Trend Micro Titanium 2013.
    According to the settings, Outlook should not warn or ask for access when Exchequer tries to send emails through Outlook. However, it does. Every time the user uses Exchequer to send an email, Outlook pops up a little box asking to permit access for a number
    of minutes.
    As far as I understand this, it should not be occurring. Am I in error in my belief, or is there something wrong here?

    Hi,
    Is there any attachment include the email? And check to see whether the attachment cay caused the issue.
    And is this issue occurs to all users and all emails?
    Also, start Windows in clean boot to check whether the issue is caused by some third party services.
    Jaynet Zhang
    TechNet Community Support

  • MS Access and ODI - without Windows

    Has anyone managed to get ODI to use MS Access file (mdb) as a source on a non-Windows platform?
    I'm using Ubuntu 8.10 and ODI 10.1.3.5.
    I've installed MDBTools and unixODBC but am hitting a variety of errors consistent with it being a bit of a hack solution.
    The kind of problems I get are:
    - Trying to reverse engineer, I can get a list of the tables in the .mdb when I do Selective Reverse, but when I select one of them I get the error "The Technology or the Driver used does not support Reverse Engineering" "java.sql.SQLException: Column not found"
    - If I define the table myself, when I try to view data I get the error "java.sql.SQLException: The result set type is not supported.".
    Given that this is more an education in ubuntu/ODI than anything else, am I best off cutting my losses now?

    This should help you . http://odiexperts.com/odi_jdbc_access/

  • Read-only access when saving metadata to file from Adobe Lightroom on a MAC OS to Windows shared drive

    We have a group of 5 people editing and indexing photos to a shared drive on a windows server, everyone has its own catalog and working on different folders to avoid any locking conflicts.
    The windows computers don't have any problems but the Mac's don't write the updated metadata to all files because they get the message "Photos have read-only access".
    The environment is the following:
    2x Macs workstations running:
    - Adobe Photoshop Lightroom 5.7.1
    - iMAC with MAC OS X Yosemite 10.10.2
    3x Windows Workstations:
    - Windows 7
    - Adobe Photoshop Lightroom 5.7.1
    Server:
    - Shared drive on a Windows Server 2012 Standard
    I have searched the internet, no one has this problem with this exact setup but I have tried all the solutions I found, namely:
    1. Connect to the network drive with cifs:// protocol
    2. Change the settings of the nsmb.conf for 'smb1_only' protocol
    3. Mount the drive manually by command line
    Nothing worked, any ideas?

    Did you ever find a solution to this problem?  I have the same issue and wonder if Lightroom 6 will resolve it.  I  tried AFP, SMB2, SMB3 and they all failed to save metadata randomly. When I use NFS from OS X then it works fine but it's a little slower than SMB and it's not as native as the mount via AFP or SMB, so it's harder to maintain.     My server is a FreeNAS 9.2 (FreeBSD) which is running Samba, Netatalk and native NFS.

  • Programmatically Accessing Self Sign in Plug in for Digital Signature

    Hello There,
    We are looking forward to use “Adode Acrobat 9 Pro – Self Sign in Plug in” for one of the application to digitally sign PDF document i.e. appending signature to existing PDF document. We have gone through Adobe site (http://learn.adobe.com/wiki/download/attachments/52658564/samplesignatures.pdf?version=1 ; http://www.adobe.com/ap/epaper/tips/acrsignatures/ ) and explored “Tips and Techniques” along with screenshots.
    We would like your help on following queries:
    ·         Can we programmatically from C#.NET access Adobe Object and create certificate for digital signature? If Yes, can you please provide pointers, references and sample code snippets? [We understand that we do not need to purchase SDK as Professional would be sufficient for digital PDF signature]
    ·         Does Adobe Pro installer provide DLL which can be leveraged in Code base i.e. C#.NET?
    ·         How does certificate management work for digital signing? Can third party like verisign, local computer / certificate from organization server work for digital PDF signature?
    ·         Please provide Technical Reference manual to use Adobe from C#.NET
    ·         Can you please throw some light and pointers on Licensing and Cost?
    We are running on a deadline hence your quick help and response will be highly appreciated.
    Thanks & Regards

    best check on the sdk forum:
    http://forums.adobe.com/community/acrobat/acrobat_sdk
    sdk docs can be found here:
    http://www.adobe.com/devnet/acrobat/?view=documentation

  • Access Violation in Metadata::getVector()

    My code gets a list of the tables in a schema, but I am running into a problem in the case where there are no tables in the schema. The first step in my code is to get the schema object list:
    // pConn is the Connection object.
    // schemaName is the name of the schema.
    MetaData md = pConn->getMetaData(schemaName, MetaData::PTYPE_SCHEMA);
    std::vector<MetaData> objList = md.getVector(MetaData::ATTR_LIST_OBJECTS);
    When there are no tables in the schema (it has just been created), the call to getVector() encounters an access violation. Has anyone else run into this? Is there a way to get a count of the schema objects before calling getVector()?
    I am using Oracle Instant Client 10.2.0.1, and the database is 10g (I get the same error when the database is 11g).
    Thanks,
    Bob

    Hi Bob,
    I can confirm the same behaviour using 11.2.0.1 on 64-bit Windows.
    I also put together a plain OCI test application and it does not display this same behaviour.
    It might be worth raising a Service Request with My Oracle Support (if you have support). It would be interesting to know what support have to say if you do.
    However, my experience using OCIDescribeAny (the underlying OCI call) is that it is "sometimes apparently unreliable." I put those last words in quotes as the behaviour I have observed may be expected, but I have never dug deep enough to confirm. Mostly because I don't do much describing for things other than result sets.
    Here's what I mean about "sometimes apparently unreliable"... using the same OCI test if I connect to the database as the user whose schema I want to describe all works as expected (even if there are no objects in the schema). However, if I connect as a different user, sometimes the describe works and sometimes it doesn't. Well, it returns 0 as the number of objects in the schema even if there are more than 0. For example, I have a user called "admin" with the DBA role and if I connect as that user and try to describe, say, the "scott" schema, 0 is returned as the number of objects in the schema. But, if I connect as "system" and perform the exact same operations, the correct number of objects (and other data) is returned.
    I realize that is not much help in getting around your particular issue here. Perhaps you could query the all_objects view using owner=<schema of interest> (or just the user_objects view if you are connecting as that user)?
    Regards,
    Mark

  • Programmatically access to webBean structure

    Hi,
    is it possible to programmatically retrieve all the children of a webBean?
    If I have a webBean, I can do:
    OAWebBean owb = webBean.findChildRecursive("ChildName");
    But, how can obtain all the children without to know the "ChildName"?
    I have tried with:
    Enumeration enum = webBean.getChildNames();
    But, after doing that, if I have:
    String child = (String)enum.next();
    OAWebBean owb = webBean.findChildRecursive(child);
    owb is always null, because the enumeration doesn't contain the children "ID" of webBean, but something like "corporanteBranding", "pageButtons", "message".
    Nothing else.
    Is there a method to access to the children ids starting from a webbean?
    Thanks a lot.
    Bye
    Raffy

    Hi,
    I am trying to get control on flexfield segments and i think i should be using
    getIndexedChild(RenderingContext, int)" ....
    Can you pls tell me how do i get the renderingcontext of the flexbean and pass it to getIndexedchild method programmatically.....
    Thanks in Advance,
    Tanveer

  • ODI metadata integration with EPMA Shared library

    Hello all,
    we are in the implementation phase of Hyperion Planning and we have to update metadata using some ETL tool into EPMA.
    Is ODI integrates with Oracle and EPMA shared library or not.
    if not then we have some other tool to integrates the same.
    Kindly reply.
    Thanks,
    KK

    I believe John Goodwin wrote a series of blog-posts to show exactly this integration.
    Here is the first one:
    http://john-goodwin.blogspot.com/2011/10/loading-to-epma-planning-applications_02.html

  • ODI metadata export from Essbase generates a filter error

    I am trying to extract Essbase metadata into SQL with ODI v. 10.1.3.5. Several of my dimension names contain spaces. This creates an error as the MEMBER_FILTER_VALUE for the "Time Periods" dimension is interpreted as "Time" by the LKM because of the space. Spaceless dimension names export without issue. I have tried to use single quotes, double quotes, brackets, braces, etc. Nothing works. Has anyone encountered this before?

    Yes, you need to patch ODI, I recommend at least path 10.1.3.5.5
    Cheers
    John
    http:/john-goodwin.blogspot.com/

  • Access to OLAP Metadata from BI Beans 903

    Hi,
    we have a problem accessing OLAP objects via BI Beans.
    Having created OLAP dimensions and facts via OWB or EIM, we were not able to see them in the BI Beans Query Builder.
    We then ran the "cwm2_olap_metadata_refresh.mr_refresh" routine on the OLAPSYS schema, which is supposed to update the CWM OLAP objects into CWM2 format.
    In BI Beans we now try to connect to our schema which contains the OLAP objects; the connection is fine; when doing "New (matrix, table, graph)", we get a Query Builder error message : "Unable to initialize Query Builder"
    On the detail screen (see java error below), it seems that dimensions cannot be retrieved from the OLAP catalog.
    However, we see entries for our dimensions when looking in union views, such as all$olap2udimensions or in tables such as the CWM2$MRALL_HIERDIMS table.
    Thanks,
    Klaus
    oracle.dss.dataSource.common.QueryRuntimeException
    java.lang.NullPointerException
    java.util.Vector oracle.dss.dataSource.common.QueryQueryAccess.getDimensions(java.lang.String)
    QueryQueryAccess.java:413
    java.util.Vector oracle.dss.queryBuilder.QueryBuilderQueryAccessUtils.getVisibleDimensions(java.lang.String)
    QueryBuilderQueryAccessUtils.java:130
    java.util.Vector oracle.dss.queryBuilder.QueryBuilderUtils.getVisibleDimensions(oracle.dss.queryBuilder.QueryBuilder)
    QueryBuilderUtils.java:495
    void oracle.dss.queryBuilder.QueryBuilderUI.createDefaultPanels()
    QueryBuilderUI.java:405
    void oracle.dss.queryBuilder.QueryBuilderUI.init()
    QueryBuilderUI.java:351
    boolean oracle.dss.queryBuilder.QueryBuilder.initialize()
    QueryBuilder.java:2337
    void oracle.dss.addins.wizard.presentation.PresentationWizardContext.initQueryBuilder()
    PresentationWizardContext.java:102
    void oracle.dss.addins.wizard.presentation.PresentationWizardContext.setDesigner(oracle.dss.addins.designer.BIDesigner)
    PresentationWizardContext.java:149
    boolean oracle.dss.addins.wizard.presentation.PresentationWizardAddin.invokeFromMenu(oracle.ide.addin.Context, java.lang.String[], oracle.dss.addins.designer.BIFolder, oracle.dss.addins.designer.BIDesigner, boolean)
    PresentationWizardAddin.java:64
    void oracle.dss.addins.designer.BIDesignerAddin.actionPerformed(java.awt.event.ActionEvent)
    BIDesignerAddin.java:572
    void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)
    AbstractButton.java:1450
    void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent)
    AbstractButton.java:1504
    void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent)
    DefaultButtonModel.java:378
    void javax.swing.DefaultButtonModel.setPressed(boolean)
    DefaultButtonModel.java:250
    void javax.swing.AbstractButton.doClick(int)
    AbstractButton.java:279
    void javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(java.awt.event.MouseEvent)
    BasicMenuItemUI.java:886
    void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
    Component.java:3715
    void java.awt.Component.processEvent(java.awt.AWTEvent)
    Component.java:3544
    void java.awt.Container.processEvent(java.awt.AWTEvent)
    Container.java:1164
    void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
    Component.java:2593
    void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
    Container.java:1213
    void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
    Component.java:2497
    void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
    Container.java:2451
    boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
    Container.java:2216
    boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
    Container.java:2125
    void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
    Container.java:1200
    void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
    Window.java:922
    void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
    Component.java:2497
    void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
    EventQueue.java:339
    boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
    EventDispatchThread.java:131
    void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
    EventDispatchThread.java:98
    void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
    EventDispatchThread.java:93
    void java.awt.EventDispatchThread.run()
    EventDispatchThread.java:85
    java.lang.NullPointerException
    java.lang.Object java.util.Hashtable.put(java.lang.Object, java.lang.Object)
    Hashtable.java:380
    oracle.dss.metadataManager.common.MDDimension oracle.dss.dataSource.common.Query.getMeasureDim()
    Query.java:3015
    oracle.dss.metadataManager.common.MDDimension oracle.dss.dataSource.common.QueryQueryAccess._getMeasureDimension()
    QueryQueryAccess.java:679
    java.lang.String oracle.dss.dataSource.common.QueryQueryAccess.getMeasureDimension(java.lang.String)
    QueryQueryAccess.java:456
    void oracle.dss.dataSource.common.QueryQueryAccess._initializeDimensionality()
    QueryQueryAccess.java:792
    java.util.Vector oracle.dss.dataSource.common.QueryQueryAccess.getDimensions(java.lang.String)
    QueryQueryAccess.java:409
    java.util.Vector oracle.dss.queryBuilder.QueryBuilderQueryAccessUtils.getVisibleDimensions(java.lang.String)
    QueryBuilderQueryAccessUtils.java:130
    java.util.Vector oracle.dss.queryBuilder.QueryBuilderUtils.getVisibleDimensions(oracle.dss.queryBuilder.QueryBuilder)
    QueryBuilderUtils.java:495
    void oracle.dss.queryBuilder.QueryBuilderUI.createDefaultPanels()
    QueryBuilderUI.java:405
    void oracle.dss.queryBuilder.QueryBuilderUI.init()
    QueryBuilderUI.java:351
    boolean oracle.dss.queryBuilder.QueryBuilder.initialize()
    QueryBuilder.java:2337
    void oracle.dss.addins.wizard.presentation.PresentationWizardContext.initQueryBuilder()
    PresentationWizardContext.java:102
    void oracle.dss.addins.wizard.presentation.PresentationWizardContext.setDesigner(oracle.dss.addins.designer.BIDesigner)
    PresentationWizardContext.java:149
    boolean oracle.dss.addins.wizard.presentation.PresentationWizardAddin.invokeFromMenu(oracle.ide.addin.Context, java.lang.String[], oracle.dss.addins.designer.BIFolder, oracle.dss.addins.designer.BIDesigner, boolean)
    PresentationWizardAddin.java:64
    void oracle.dss.addins.designer.BIDesignerAddin.actionPerformed(java.awt.event.ActionEvent)
    BIDesignerAddin.java:572
    void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)
    AbstractButton.java:1450
    void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent)
    AbstractButton.java:1504
    void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent)
    DefaultButtonModel.java:378
    void javax.swing.DefaultButtonModel.setPressed(boolean)
    DefaultButtonModel.java:250
    void javax.swing.AbstractButton.doClick(int)
    AbstractButton.java:279
    void javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(java.awt.event.MouseEvent)
    BasicMenuItemUI.java:886
    void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
    Component.java:3715
    void java.awt.Component.processEvent(java.awt.AWTEvent)
    Component.java:3544
    void java.awt.Container.processEvent(java.awt.AWTEvent)
    Container.java:1164
    void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
    Component.java:2593
    void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
    Container.java:1213
    void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
    Component.java:2497
    void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
    Container.java:2451
    boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
    Container.java:2216
    boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
    Container.java:2125
    void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
    Container.java:1200
    void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
    Window.java:922
    void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
    Component.java:2497
    void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
    EventQueue.java:339
    boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
    EventDispatchThread.java:131
    void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
    EventDispatchThread.java:98
    void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
    EventDispatchThread.java:93
    void java.awt.EventDispatchThread.run()
    EventDispatchThread.java:85

    Hi,
    Can you confirm the version number of the various products you are using please:
    - Database
    - JDeveloper
    - BIBeans
    - Oracle Warehouse Builder (OWB)
    - EIM (can you explain what this is please)
    I presume you have created a database using the data warehouse option of the Database Configuration Assistant. This should install a demo schema owned by the user SH. Can you create a crosstab using this schema. This will help determine the status of the metadata layer.
    Keith Laker
    BIBeans Product Manager
    Oracle Corporation

  • ODI metadata query to find source and Target table for Interface

    Hi Experts,
    Client is migrating there source from EBS 11.5.10 to R12. They are in ODI BIApps. 7952 version.Since,all there mappings are customized they are not bothering about support from Oracle as far as BIApps is concerned.
    Now,we need to know how many ODI mappings will be impacted when source EBS is migrating from 11.5.10 to R12 and so that we can only target those mappings accordingly.
    So,please provide me with below inputs:
    1) Any metadata query which will give me the source table and target table information's against an interface even-if the main interface source is another interface.
    2) What are the other stuffs I need to look from point of view of mapping changes when the source is upgrading.e.g. only source table change is enough or I need to look into other stuffs.I feel,it is boiling down to create a separate source adapter for R12.
    Regards,
    Snehotosh

    SELECT C.TABLE_NAME AS "Target Table Name",
         A.COL_NAME AS "Target Field Name",
         Wm_Concat(G.SOURCE_DT) AS "Target Data Type",
         Wm_Concat(G.LONGC) AS "Target Data Length",
         Wm_Concat(TXT) AS "Transformation Rule",
         Wm_Concat(DISTINCT F.TABLE_NAME) AS "Source Table Name",
         Wm_Concat(D.COL_NAME) AS "Source Field Name",
         Wm_Concat(D.SOURCE_DT) AS "Source Data Type",
         Wm_Concat(D.LONGC) AS "Source Data Length"
    FROM
         SNP_POP_COL A JOIN SNP_TXT_CROSSR B ON A.I_TXT_MAP=B.I_TXT
         JOIN SNP_POP C ON A.I_POP=C.I_POP
         JOIN SNP_TXT E ON A.I_TXT_MAP=E.I_TXT AND B.I_TXT=E.I_TXT
         LEFT OUTER JOIN SNP_COL D ON B.I_COL=D.I_COL
         LEFT OUTER JOIN SNP_TABLE F ON F.I_TABLE= D.I_TABLE
         LEFT JOIN SNP_COL G ON A.I_COL=G.I_COL
    WHERE POP_NAME = 'XXXXXXX'
    GROUP BY C.TABLE_NAME,A.COL_NAME ORDER BY 1

  • How to programmatically access XControl Methods

    I have developed a XControl that includes several internal methods. I would like to programmatically invoke these methods from outside the XCtl but I can't find a way to programmatically obtain an appropriate XCtl reference (i.e. one that allows access to these methods). Among other things, I have tried using the OpenG VI "Open VI Object Reference" which gives the correct reference but no access to the internal methods (probably cos it doesn't recognize XCtls as an allowable vi object class).
    Any help or suggestions would be greatly appreciated.
    Andrew

    Hi DrewBob,
    I can't reproduce the issue you're seeing. I can indeed access properties and methods for an Xcontrol from its reference inside a subVI.
    In any case, you can definitely get around this by following these steps. This is overkill, and these steps weren't necessary for me, but should ensure that you can do what you want:
    1. Create a reference to your Xcontrol. Right click the reference and select Create >> Control. Right click the new control and select Advanced >> Customize.
    2. In the Control Editor window, select Type-Def from the control type drop down menu. Save this type-def control reference.
    3. For the reference input in your subVI, use a generic control reference. You can find one of these in the controls palette under Modern Controls >> Refnum >> Control Refnum.
    4. Now wire that reference in your subVI into a To More Specific Class subVI. Place a copy of your control reference type def on the block diagram of the subVI and wire its output into the Target Class input. The resulting reference should resemble the picture below and will contain all necessary custom properties and methods. Furthermore, you could use a case structure and use this one VI to alter multiple different kinds of Xcontrols using one control reference input.
    If this doesn't work for you, could you post a small VI (or zipped project) that demonstrates the problems you are having?
    Message Edited by Jarrod S. on 03-27-200611:50 AM
    Jarrod S.
    National Instruments
    Attachments:
    ToMoreSpecificClass.JPG ‏12 KB

Maybe you are looking for

  • Bulk-copy from Sybase View into a File using Java Runtime...help !!!

    The following is a bulk-copy operation, from a table in Sybase database into a file in Unix machine. bcp view_name out file_name -c -U user_id -P password -S server_name This bulk-copy utility is working fine when run from command line of a Unix mach

  • Unable to expand Roles n policies after enabling Active directory security

    I am running weblogic 10.3 on Linux and integrated console security with Microsoft AD. Below error occurs when I tried to expand roles and policies. Please help. Message: weblogic.management.utils.NotFoundException: [Security:090311]Failed to set res

  • Error Message : Reload Software 513

    I know various people are going to direct me to previous threads and topics about this, but i can assure you that ive checked and scoured the internet to no avail. To cut a long story short, I plugged my Curve into the computer, it asked me for a dev

  • Help! Not able to Print TIF files

    I recently pasted 4 photos into a 19x13 canvass. The file was originally a 1.2 GB file, which would not print, so I then reduced the size to approximately 700MB. I go to FILE then select PRINT and nothing happens. Is there a setting I messed up somew

  • Security in Match Codes

    Dear all,     Is there a way to restrict values in standar match codes? I want some users to be not allowed to see some values. Any help on this topic will be really appreciated and rewarded Thanks in advance