How to get the Asset's current step under a specific workflow process via API?

Everyone,
Is there a way to get the asset's current step for a specific workflow process by the WebCenter Sites API? We are showing out the asset created within the WebCenter Sites in another application via its API. We would like some actions get to be done once determined assets went into a specific step of a workflow process. Any suggestions are welcomed.
Regards!

Here is some information from the FDK Programmer's guide page 115:
IMPORTANT: A valid text range can span multiple paragraphs, subcolumns, or text frames.
It cant span multiple flows, footnotes, table cells, or text lines.
It is possible for a document to have no text selection or insertion point at all. This can occur in
the following circumstances:
● One or more graphic objects in the document are selected
● One or more entire table cells in the document are selected
● There is no selection of any type in the document
So, I did select one or more entire table cells in the document in my first test. It's logical that the result was not like expected.
But selecting one or more entire table cells is a crucial requirement for my plugin, is there anyway to get things straight?
Simply put, I want to enable users to select one or more table cells in the document, and I want to get the object handles of the first cell and the last cell through Framemaker API calls. How?
Many thanks in advance!
Best Regards,
Ellen N. Zhao

Similar Messages

  • How to get the footage's current frame number in expression?

    There are 2 layers.One is text layer,one is sequence layer.
    Footage has begun from the 20th frame.
    Therefore, the number of composition's current frame number and footage's frame number has shifted.
    I want to show footage's frame number in text layer . not composition's frame number.
    How to get the footage's current frame number in expression?
    Tatsuya

    >Footage has begun from the 20th frame.
    Do you mean that the footage layer has been trimmed (so that the start of the footage lines up with the start of the comp, but the first 19 frames are not visible), or moved to the left (so that frame 20 lines up with the comp's frame 0), or that the sequence actually begins with the 20th frame (at frame 0 of the comp), or something else?
    Are the frame rates of the comp and the footage the same?
    Dan

  • I just got a new 4S, but cant figure out how to get the contacts from my old 3GS to my new phone via ITunes. Help!

    I just got a new 4S, but cant figure out how to get the contacts from my old 3GS to my new phone via ITunes. Help!

    You should have been syncing your contacts with your computer all along.
    Have you failed to do this?
    iPhone: Transferring information from your current iPhone to a new iPhone

  • How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    Hi,
    Thanks for the suggestion. I've been playing around with some of the classes of the java.net package and java.io
    Using the URL class i can get the content of the data from a STATIC page and output that response to file so that is does not display to the client broswer.
    But this only works if the URL i give points to a static html page.
    So the problem i'm getting is if i'm righting in arguments in the URL, this means that server needs to process the arguments i give and its sends back a dynamic result. Because its dynamic the URL class can not handle this and throws me an exception everytime :(
    Have u ever tried to do some things like this?
    Rahul

  • How to get the number of current active external modes?

    hi all,
    I need to get the number of currently active external modes. This can be done by calling function THUSRINFO. But this only works propperly, if you are logged on only once. If you are logged on more than one time then the function returns several entries in the parameter USR_TABLE. The entries mainly differ in the first parameter TID (type UTID, INT4) "terminal-identification" but how can I know which is the valid one for my current session. Functions TERMINAL_ID_GET, SPH_TERMINAL_IDENTIFY and SPH_TERMINAL_ID_GET dont work.
    Or is there another way to get the number of active external sessions?
    Thanks in advance,
    Michael

    Hi,
    tables: usr02, usr41.
    data: OPCODE_MODE_COUNT(1) TYPE X VALUE 3,
          modes like sy-index,
          u_MODES LIKE MODES.
    select * from usr02.
      select * from usr41 where BNAME = usr02-bname.
        CALL 'ThUsrInfo' ID 'OPCODE' FIELD OPCODE_MODE_COUNT
          ID 'TID' FIELD usr41-TERMID
          ID 'MODES' FIELD MODES.
        IF SY-SUBRC = 0.
          u_MODES = u_MODES + MODES.
        ENDIF.
      endselect.
      if sy-subrc = 0.
        write:/ usr02-bname, u_MODES.
      endif.
      clear u_modes.
    endselect.

  • How to get the guid of currently opened page programatically

    Hi,
    Can any one of you please let me know how to get the guid of a page at database level which is opened currently?
    The requirement is I need to grab the url of a page which is currently opened by the user.
    Is there any way to get it from accessing the tables like wwv_things or wwpob_page$.
    Please suggest me how to get it.
    Thanks,
    Ravi.

    Hi Ravi,
    You may wanna explore the two API's (wwsbr_all_folders and wwsbr_all_items) and make a bridge to get the name of the portlets that appear on the page.
    something of the following nature should be enough to take you where you want to go. here c.name is the GUID of the item you are looking for.
    SELECT DISTINCT c.display_name,c.name,c.updatedate
    FROM portal.wwsbr_all_folders a, portal.wwsbr_all_items c
    WHERE a.LANGUAGE = 'us'
    AND a.id = c.folder_id
    AND a.caid = c.caid
    AND c.itemtype = 'baseportletinstance'
    AND a.Name LIKE 'MY_PAGE_NAME'
    order by 3 desc
    this will work in the portal but not in the sqlplus or any querying tool. for that purpose, it will work once you establish the context of user.
    hope that helps!
    AMN

  • How to get the name of current monitor?

    I have a script which is used to get some application data. The script take parameters such as "LOB" so it can query data for different department. When it found something, it raise an event in event log.
    Therefore this script is used by several different monitors. Each monitor calls the script by passing different parameters. To better understand the event was created by which monitor, I want the script can get the name of monitor which calling it and they
    list it in the event log too. 
    Currently, I am passing $MPElement$ as one script parameter so I can get the monitor's GUID. Then get the name by running powershell command. Is there an easier way to get the monitor name? Thanks!

    The best way to do this is to put the monitor name as a property bag in the script and pass that to your event details. Otherwise, we're looking at querying the database each time the monitor generates an event, and this is overhead that is really not
    necessary. The other option, which is just even worse in terms of performance, is to use powershell to query the SDK for the monitor name. Both of these options are not going to be a good solution, because now you need to implement action accounts that can
    either query the database or the sdk.
    Jonathan Almquist | SCOMskills, LLC (http://scomskills.com)

  • How to get the tablename of current price

    Hi experts,
    In sales tab page in MM43, I can see the current price in the bottom right corner of the screen. When I click "Sales Prc. Calc." button, I can find a list.
    Now I want to get the curr. finalprc of the list. Who will tell me the table name and field name?
    I press f1 key, and it tells me CALP-ENDPA, but CALP is struct.

    Hi,
    please try MBEW for your requirement. you will get the material price in it.
    Regards,
    Ninad Kshirsagar

  • How to get the name of currently logged in user in the network

    Hi all,
    I want to know if there's a way to get the name of the currently logged in user in the network.
    SYS_CONTEXT('USERENV','OS_USER') won't work for me because our users do not loggin in portal.
    Any ideas?
    Thanks in advance.
    Brett

    Hello, I had the same problem. Here is a smaller version to find the Group of the current User.
    The VI get the members of a Group and match it with the Username.
    Note :
    If the User belongs to multiple Groups the the VI returns only the 1st Groupname
    If the User belongs to no Group then the VI returns "unknown Group"
    The VI is written with LabVIEW 2010 and TestStand 4.2.1
    Attachments:
    current user group.vi ‏20 KB
    TestStand get Group of current User.PNG ‏43 KB

  • How to get the name of correlation item in OM through event processing scripts?

    I am trying to write a groovy script in OM event processing scripts, I want that script to read the event correlation and set custom attributes accordingly. I am unable to read the correlation item. Please guide me how to get it? What method should I use to get the correlation item? I am using OPR library.

    Hi there,
    the name property would be the correct attribute to get the subform name, just by looking at the code it doesn't seem like it's doing the right thing
    I am assuming that you send Main in the function countChk() which would look something like this
    countChk(Main);
    And you probably want to make sure you are entering the right subform so you need to keep that loop at the end of the function
    but if you want to get through all the checkboxes inside that subform you must do a loop through that node to find each checkbox
    I am assuming that the function would probably look something like this
    function countChk(vNode) {//Starts vNode with Main
         for (var i = 0; i < vNode.nodes.length; i++) {
              if (vNode.nodes.item(i).className === "field") {
                   if (vNode.ui.oneOfChild.className === "checkButton") {
                        if (vNode.items.nodes.length > 1) {
                             if (vNode.value.oneOfChild.value == 1) {
                                  nChk++ ;
              }else if (vNode.nodes.item(i).className === "subform"){
                   if (vNode.nodes.item(i).name === "Door_Subform"){
                        countChk(vNode.nodes.item(i));
         }//endloop
    Hope this help!

  • [E2010][EWS-XML][JAVA]How to get the properties of meeting rooms in Exchange 2010 using EWS Java API

    When you look at meeting room properties in Outlook 2010, you can see 'City', 'Country/Region' and 'Department' information.
    Is there any way to get this information using EWS Java API? 

    Hi Glen,
    I am able to understand what u have said, but do not know how to implement it with meeting rooms....
    If i am implementing
    "Get all appointments between startDate and endDate in the specified folder, including recurring meeting occurrences" in ews-java-api, as you have mentioned above, i am able to get only my appointments from the start date to end date , as i
    have given my email id and password, how to get my organization meeting room details, booked or not.
    static ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP2);
    public static void main(String[] args) throws Exception {
    // TODO Auto-generated method stub
    ExchangeCredentials credentials = new WebCredentials("[email protected]", "zzzz");
    service.setCredentials(credentials);
    try {
    System.out.println("Check");
    service.autodiscoverUrl("[email protected]",new RedirectionUrlCallback());
    } catch (Exception e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    NameResolutionCollection nameResolutions = service.resolveName("SDB1",ResolveNameSearchLocation.DirectoryOnly, true);
    System.out.println("nameResolutions==="+nameResolutions.getCount());
    for(NameResolution nameResolution : nameResolutions)
    System.out.println("NAME==="+nameResolution.getContact().getDisplayName());
    The above code gives me the output like, the meeting room in my organization with word SDB1 are
    Output:
    nameResolutions===2
    NAME===SDB1- TELCON - 1
    NAME===SDB1-TELCON - 2
     for. eg. I need to know today at what are the appointments in the room SDB1-TELCON2 and who all have booked the room.
    I do not know how to implement for the meeting room can you please help me how to give it.
    Thanks in advance.

  • How to get the package name of a procedure used in a process flow activity

    Hi all. I'm on OWB 11.2.0.2.0.
    When I used a packaged procedure or function in a mapping operator, I can find out the package.program_unit name by getting the operator's FUNCTION_NAME property. For example,
    OMBRETRIEVE MAPPING '$mapName' OPERATOR '$operName' GET PROPERTIES (FUNCTION_NAME)
    But when the same is used in a process flow activity, I can't find a property name that will give me the same information. I can get the BOUND_NAME, it does not tell me the package name. It must be stored in the activity properties because when you pull up the Synchronize dialog for the activity, it knows the package name.
    Is there a way to get this via an OMBRETRIEVE?
    Thanks.

    ANA, this is exactly what I needed. Thank you so much. I saw REFs also in the OMBRETRIEVE MAPPING/OPERATOR syntax, but went cross-eyed trying to figure out if I could use the same there. The closest I found was GET BOUND_OBJECT.
    Thanks again!

  • How can get the touchpad turned off when my logitech mouse is plugged via usb. when I used control panel to turn off tp it says it is disabled.

    both touchpad and mouse are active even though the touchpad is disabled

    I am saying that the touch pad still is active/turned on/ works, even though it is disabled according to the menu screen that I reach through control panel. It works all the time, in any program I am using. My latest attempt is to delete the software (Alps vers. 7.1207.101.225) but I see that has not worked either. I'm a poor typist and need to watch the keyboard and my thumbs touch the pad and send the cursor and current words somewhere other than the line on which I am trying to write. Very frustrating.[

  • How to get the user of current session in EBS

    Hi everyone,
    I create a new form in EBS 11. I want to get user ID (or userName) of user who log in the current session of application for inserting into CREATE_BY field of table in database.
    How have i to get it
    thanks you and best regards

    Hi,
    It seems like your application variables have not been initialized. Has your form been registered in a menu under a valid responsibility? Give us more details of the form and where it is has been registered.
    Make sure you look at P29-3 of the Application Developer's Guide for WHO column maitenance as you should be populating other columns besides the USER_ID. (http://download.oracle.com/docs/cd/B40089_10/current/acrobat/120devg.pdf)
    Cheers
    Dale

  • How to get the path of current directory?

    I have the Java servlet to produce text file, and it produces to C:\hello.txt,
    but I want to output in the current directory as the Java File:
    i.e. C:\jakarta-tomcat-4.1.30\webapps\ExtendedGUI\WEB-INF\classes
    try
         PrintWriter out = new PrintWriter(new FileWriter("hello.txt"));
         out.println("HELLO");
         out.close();
    catch(IOException e)
    any ideas?? Thanks!!

    The current directory is defined as the directory that you started your servlet container from. In your case, it was c:\. If you want it to fall into the same directory as your class files, I would start by finding out what TOMCAT_HOME or whatever container you're using is and adding to the directory until you get to your class directory. Make sense?
    The easiest way is to read the output directory from a properties file as a resource or a hardcoded path.
    HTH

Maybe you are looking for

  • Updated T61p to new BIOS, now Hibernate no longer works

    I just updated to the newest T61 BIOS released 1/09, and now I can't hibernate.  If I try to initiate hibernation, nothing happens for about 10 minutes, then the popup window comes up, and within another 10 seconds the machine locks up completely. I'

  • Since Firefox updated to 3.6.12, Ctrl+P no longer works and I can't print my coupons.

    When I want to print something from the internet, I press ctrl P and a sign comes up saying, "An unknown error occured while printing. For most things I can copy and paste into WORD and print the information I want. However, this does not work for co

  • Enabling 64-Bit in Integrated WebLogic

    I installed JDK 1.7 under C:\Program Files\Java\jdk1.7.0_25 and used this to install JDeveloper 12c. I noticed that in $MIDDLEWARE_HOME/wlserver_10.3/common/bin/commEnv.cmd the variable JAVA_USE_64BIT is NOT set to true. The reason was that JAVA_HOME

  • How to convert JPEG to WBMP?

    Is there a class in JAI to convert JPEG to WBMP? or do I have to read data from a JPEG image and convert it into binary to encode manually into WBMP format? I am new to Java Advanced Imagery. PLease help. Thnx in advance!

  • How to install wireless HP Officejet printer on my Macbook air?

    Hi there, I just bought a MacBook Air for college and I want to install wireless printing. When we installed printing (non-wireless) on my other laptop we inerted a disk into it to install the printer. However, I can't insert a disk into my Macbook s