Finding Art By Name

I have assigned ai::UnicodeString names to some art in my AI document.
This I have acheived using      sAIUIDUtils->SetArtNameOrUID()
For retreiving the art from document, I want to use the ai::UniCodeString names of the art.
error = sAIUIDPool->GetPool("anyName", &pool);           // The SDK reference says the 1st parameters is ignored, but error = 1346458189 after this step
error = sAIUIDPool->NewUIDREF(pool, myUnicodeName, &uidRef);
error = sAIUIDUtils->GetReferencedArt(uidRef, &foundArt);
if(foundArt == NULL)
matchingArtFound = false;
What is wrong with the above code to acheive : "Get the art, knowing its name" ? Is there any better way to do so ?
This unicode name is the one which we see in the attribute name "id" in the SVG  format of the AI document.

Thanks Patterson !
I have to assign the name in human readable format and preserve it across multiple Ai sessions of the document. So I selected the unicode name against the UID.
UID I beleive is not human readable string, so I will have to ignore that option.
GetPool() : I tried it initially with NULL and then with "anyName", hard luck either way
Now I think the only way out, is to traverse across all arts in the document, and compare the names with the one I am searching for.
This is simply to check if the name I am about to assign isn't already used in the document.
Can we use the matchingArtSet() in this case ?? If yes, what shall be the spec for the same ?
Any other option for this ??

Similar Messages

  • Discoverer Report: How to find Business Area name from Report Name.

    Hi
    I opened a report in Disco Desktop 4 -> Resonsibiolity --> Report Name.
    So I know Report name but don’t know which Business Area it belongs to.
    How to find Business Area Name from Report Name?
    Cheers
    Vijay

    Hi,
    There is no relationship between reports and business areas. Each report can be built from many folders. Each folder can be in many business areas.
    However you can try the following SQL which may give you the result you want for an v5 EUL. You will have to modify for Discoverer 4 EUL:
    select distinct doc_name, obj.obj_name folder_name, bas.ba_name
    from eul_us.eul5_documents doc
    , eul_us.eul5_elem_xrefs xref
    , eul_us.eul5_expressions exp
    , eul_us.eul5_objs obj
    , eul_us.eul5_ba_obj_links bol
    , eul_us.eul5_bas bas
    where xref.ex_from_id = doc.doc_id
    and doc.doc_name = &your_report
    and xref.ex_to_id = exp.exp_id
    and obj.obj_id = exp.it_obj_id
    and bol.bol_obj_id = obj.obj_id
    and bas.ba_id = bol.bol_ba_id
    Rod West

  • How to find out server name in reports9i

    hi all
    how to find out server name in reports9i
    i need the report server name to call a report
    thanks
    Edited by: vikas singhal on Nov 5, 2008 1:02 AM

    You do not need to do anything, if your Report server is on the same machine as the Forms server (which is usually the case) you simply use the url as
    /reports/rwservlet?report=myreport' and the server will automatically use the default report server.
    then you simply use
    web.show_document('/reports/rwservlet?userid=scott/tiger@orcl&report=myreport&desformat=htmlcss&desname=test.html'Tony
    Try it now
    Edited by: Tony Garabedian on Nov 5, 2008 2:00 PM

  • How can you find out if another VI running on the same computer and how can you find out the name of that VI?

    Suppose that several VIs running simultaneously on the same computer. How can I find out the names of the running VIs, from another VI?
    If the already running VIs are clones of the same basic VI, open and run with the option "Prepare to call and forget", how can I find out the names and index of each clone? 

    I had an application where I spawned (= ran with Start Asynchronous Call) multiple (reentrant) copies of VIs, and would occasionally "lose control" of them.  I needed a way to find all VIs that were running "Top Level" and stop them (so I didn't have to log off from Windows).
    I used the Application Property "All VIs in Memory" to get an array of (wait for it ...) All VIs in Memory.  I took each name, opened a VI reference to it (simply wire the name string in, as the VI is, by definition, "in memory"), looked at its VI Execution State, and if it was Run Top Level, Invoked the FP.Close and Abort VI Methods.  [To prevent the VI that did all this from "committing Suicide", I compared the name string with the current Call Chain, and did nothing if there was a match].
    I think you could adopt this idea to do what you need.
    BS

  • How do I find out the name of an area menu?

    I can see a report with a specific t-code in an area menu, how can i find out the name of the area menu, when i need to edit it in se43?

    Do a where used list for the tcode in SE93. select area menu in the list.
    Regards
    Sridhar

  • How do I find out the name of my wireless chipset/interface?

    I'm doing a install of Arch and I need to setup my WLAN.
    So the wiki says:
    "After finishing the rest of this installation and rebooting, you can connect to the network with wifi-menu interface_name (where interface_name is the interface of your wireless chipset). "
    How do I find out the name of my interface?
    Last edited by psycho_tea_drinker (2013-07-03 12:36:40)

    psycho_tea_drinker wrote:
    hokasch wrote:
    Check your chipset (lspci), see if the corresponding kernel module got loaded. Look for dmesg errors. Another way to check device names (from the wiki):
    $ ls /sys/class/net
    How do I check if the kernal module got loaded?
    lspci | grep net
    > only shows my ethernet controller
    lsusb
    > does not show it ethier
    I forget to mention that it is a USB wifi dongle (Tplink TL-WN722N). And I'm also running within virtualbox - I hope that does not complicate matters?
    Probably. You'll need to make sure that VB guest can see your USB ports. You'll need the VB wiki pages for that though.
    I don't use it, so can't help, sorry.
    Last edited by skanky (2013-07-03 13:12:46)

  • How to find the screen name in a screen?

    Hello experts
    I  am  using loop at screen to make my selection screen dynamic
    please tell me how to find all screen-name of a screen.
    thanks in advance.
    Chitta Ranjan Mahato
    Moderator message: please think about it before asking, you are naming the selection fields yourself in your program, if still in doubt, just debug your "loop at screen"
    Edited by: Thomas Zloch on Nov 9, 2010 12:57 PM

    I am  writing a program where in selection screen there will be two radio button named application server and presentation server when user choose application server screen changes dynamically and the block containg related to appliction server will be displayed in selection screen. to achieve this i have write code like
    at selection-screen output.
    if <radiobutton-name> = 'X'.
    loop at screen.
    {color:green}
    if  screen-name = 'radiobutton-name'.
    {color}
    if scree
    thanks
    chitta ranjan mahato

  • How to find out the name of a table?

    Hi
    How can I find out the name of a table which doesn't have a record history?
    Regards
    Rahman

    No direct way to know the tables. What you will find on the ABout this page link are the View Object (similar to record sets), Entity objects, controller and Application module. Generally EO is based on a table or the VO can be based on the query which you can find the corresponding xml file. But a button action might be calling a method in AM or CO which in turn call some wrapper method to interact with database. So nothing straight forward. You will have to analyze the all page related code objects.
    They are specific to OA framework and if you are not aware about them, better go through the initial chapters of OAF dev guide.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How do I find the image name and media_link for an ubuntu image in the Gallery?

    I am trying to create VM using Python API.  
    I have a custom Linux image:
    image_name = 'cloudN-Azure-20150205-os-2015-02-05'
    media_link = 'https://portalvhds10ssz63zgvb9g.blob.core.windows.net/vhds/cloudN-Azure-20150205-os-2015-02-05.vhd'
    When I used this image to create VM, it failed.
    I would like to use the ubuntu 1204 image in the Gallery.
    How do I specify the image_name and media_link in my Python code?  Basically, where and how do I find the image name and media_link for an image in the Azure image Gallery?
    Thanks in advance...

    hi sir,
    Did you try to use "List OS Image"? we can get the property form the results:
    result = sms.list_os_images()
    for image in result:
    print('Name: ' + image.name)
    print('Label: ' + image.label)
    print('OS: ' + image.os)
    print('Category: ' + image.category)
    print('Description: ' + image.description)
    print('Location: ' + image.location)
    print('Affinity group: ' + image.affinity_group)
    print('Media link: ' + image.media_link)
    print('')
    Please try it. Any questions or it doesn't work, please let me know.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Using column value is it possible to find the table name in the database?

    Hi all,
    using column value is it possible to find the table name in the database?
    guys i need the table value
    Note:
    oracle-9i
    for example:
    i don't know NIC(column value) in which table in the database.
    Thank you,
    with regards,
    JP.
    Edited by: Guest on Feb 27, 2012 5:42 AM

    Hi,
    As far as I understand what you are asking for I would suggest 4 data dictionaries that will help you to know the table name from the column names
    1. USER_TAB_COLS
    2. ALL_TAB_COLS
    3. DBA_TAB_COLS
    4. COLS
    These can give you detail information about the columns and respective tables at user, schema, dba level. Further information on the table can be found by querying ALL_OBJECTS table giving table_name as Object_name, or you can join the data dictionaries too.
    To know about various data dictionaries avalible in Oracle please query select * from cat;
    Let us know if you need further assistance.
    Twinkle

  • Regarding finding the table name for a field in R12 forms

    Hi all,
    I need to know how to find the table name for a field in R12. I am working on extracting the employee information but i need to know how to get the table names for the fields.
    Thank you,
    raj

    Please see these threads.
    How to find table name in ebs
    How to find table name in ebs
    E-Business tables
    E-Business tables
    Thanks,
    Hussein

  • How to find database attribute names that correspond to page labels

    I've been tasked with creating one or more views to be used in creating reports. The users know data items by the labels on pages, not the database attribute names. So my dilemma is how to correlate the page labels to the database attributes.
    For example, there's a course details web page. It includes items labeled "Replacement Course", "Inherited Competency Update Setting" and "Attachments", among others.
    Focusing on "Inherited Competency Update Setting"... there's no database attribute called that. I've found COMPETENCY_UPDATE_LEVEL, but I don't know if that is it. And is an "inherited" one different than a non-inherited.
    I've googled about, and discovered that "Inherited Competency Update Setting" can be set by using a workflow named OTA_COMPETENCE_UPDATE_JSP_PRC and setting an attribute named HR_APPROVAL_REQ_FLAG. Further research has lead me to determine that HR_APPROVAL_REQ_FLAG is used only within the workflow system. I've found in SYS.ALL_SOURCE a package OTA_COMPETENCE_SS with a function that gets that attribute's value. It includes a query against WF_ACTIVITY_ATTR_VALUES which retrieves values of YES_DYNAMIC, APPROVAL, NO, YES or NOTIFYONLY. I've not found any code that uses the function.
    Using ALL_TAB_COLUMNS, I'd found COMPETENCY_UPDATE_LEVEL in OTA_OFFERINGS, which contains "APPROVAL" or null. So that may be what I seek, but I can't confirm it.
    I also have been unable to find the translation from "APPROVAL" to "Notification, Automatic Update after Approval" (assuming I'm correct and this is the field)
    I've found a Training Administration Technical Reference Manual for Release 11i, which contains information about the database, but I've found no corresponding document for Learning Management for 12.1 (Only installation and user guides).
    And this is many days' research to find one attribute. Which I'm not certain I've found.
    So, in this case in particular, or any case in general, how does one find the database name for an attribute, given the page label's text??
    Thank you
    Cornell

    Whoa, easier than I'd thought...
    When the page first shows up, there's the About This Page link, at the bottom, clicking it you get to the About Page.
    I noted two sections, Page Definition and Business Component References Details.
    I expanded Business Component References Details and found View Objects. There's a list of views used. I was dismayed that the views don't appear to be in the database. Of course, they're camelCased Java names of Java objects, not database names (although sometimes some of the camelCased tokens might correspond to parts of view names). They are, however, clickable and when clicked the definition shows up, and I was thinking that it would take a long while to find what I was seeking.
    But... Hit the Expand All link in Page Definition, do a find on page for the desired label, and there it is... a row with the label, view object name and attribute! Pay dirt!
    Then go to the Business Component References Details, find the View Object, click it, and there's the view :-) Find the attribute, then the table... easy peasy!
    Thank y'all again

  • In which table can I find  Sales Deal Name?

    Hi Guys,
       In which table can I find Sales Deal Name for the corresponding Sales Deal?
    Regards,
    Shashank.

    Shashank,
    you can find in table KONA-BOTEXT.
    <b>Reward for helpful answers</b>
    Satish
    Message was edited by:
            Satish Panakala

  • Illustrator CC, 2014, default art board name

    In Illustrator CC, 2014, How do you remove a custom art board name, and reset the default to start back at one? It used to be you would just remove the name, but that no longer works. When I create a new art board in a document that has been used as a template, it starts at "Artboard 239." How do I get that back to 1 without starting a new document?

    Davey,
    You could try to reinstall using the full three step way:
    Uninstall, run the Cleaner Tool, and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html
    Or you could have a look at items 1) and 11) in Other options (follow the link with that name).

  • How to find out query name using Elements of the query builder.

    Hi SDNers,
    how to find out query name using Elements of the query .
    thanks,
    satyaa

    Hi,
    For having a look at the relation between BEx tables,check the link below:
    http://wiki.sdn.sap.com/wiki/display/BI/ExploretherelationbetweenBEx+Tables
    -Vikram

Maybe you are looking for

  • Can't get Apache to work using WAMP or XAMPP

    My system: iMAC Mac OS X: Version 10.5.6 Processor: 2.16 GHZ Intel Core 2 Duo Memory 2 GB 667 MHz DDR2 SDRAM I have over 75 Gigs available on my Mac HD and nearly 40 Gigs left on my external HD used for Time Machine Hello! I cannot get Apache to star

  • Csv file reading and voltage and current plotting with respect to time samples XY plotting

    Hallo,          I've been struggling with reading  a comma separated value (csv) file from another instrument (attached). I need to plot this data for analysis. I have 5 column of data with numbers of rows, the first three row is the information of t

  • Need speaker repair.... Creative won't help at all.

    Yeah so I have a gigaworks s700 and the center channel connector on the subwoofer is wiggly. I think it just needs soldered back on but there is no easy way to get to it without taking a whole lot of stuff apart and ripping glued pieces apart. So I'm

  • The last image in OneDrive navigation does not become ready

    Hi, When navigating original digital camera jpeg images the last image does not become ready as others i.e the images before the last one user can see in two phases as it should be but the last one only in the first phase

  • Problem showing movies.

    Why can I no longer show movies on my iPad 3?  Netflix, YouTube, my own home movies? Opens to location. Picture shows, but freezes with no sound.  Netflix works on my TV, so I know it's not Netflix problem. Also no longer have sounds (sending emails,