Getting a unique identifier per portlet (portlet id or something)

I have a custom build ADF portlet in my webcenter space application.
When i add 2 of these portlets (which are the same task flow) i need to identify them.
Is their a way so i can get a unique identifier from the portlet so i can know which portlet is which? Is their for example an API so i can get the portlet ID or something like that?

I think this http://forums.adobe.com/community/livecycle will help more so than this forumAdobe LiveCycle
Gramps

Similar Messages

  • Is it possible to get a unique session per browser window?

    I'm playing with the idea that each browser window may have it's own unique session.
    So, if I have two or more IE browsers open and I point each one at my web site, I want each window
    to maintain their own session id. Same if I have two or more Firefox browsers open, etc ...
    I see a sesion id is stored in the JSESSIONID cookie. It seems browsers of the same make share this cookie.
    So, you cannot keep sessions separate. Is there a way to get around this?
    Why do these sessions need to be shared across browser windows of the same make?

    Oh! Unfortunately, cookiepie is not what I'm seeking.
    How about managing the session without the JSESSIONID cookie?
    Can't the session id be put in the url? Is that a security risk? Even for https?

  • Unique identifier in FBL3N

    Hello,
    Please could you tell me if it is possible to get a unique identifier in an FBL3N report? (I would want the unique identifier to remain unchanged for each line item if new line items are entered into SAP.)
    (i.e. if staff write commentaries for each line item in an FBL3N report and then new line items are present in later FBL3N reports I want to be able to identify which line items in the new report each of our commentaries relate to).
    Thanks,
    Stu

    Hi,
    Please could you tell me whether accounting entry date is different to document date and posting date? My understanding is that the document date and posting dates can be manually set by the data entry clerk and therefore I can not guarantee that posting dates will always increase for each new line item (even then would I need to sort by time of day within each date to be sure the order of line items are in chronological order?) Is accounting entry date the date that the data is entered into SAP and not changeable by the user?
    Unfortnately in this case it will be impractical to ask people to use unique text or header text fields.
    If it is possible to sort by the date (and time) that data is 'physically' entered into SAP then we can be sure that any new line items will occur at the bottom of the report, irrespective of document date or posting date?
    I assume an unique identifier just doesn't exist (without entering one manually)?
    Many thanks,
    Stewart

  • SQL Dealing with multiple choice answers in a DB with no unique identifier

    I am working with a Database that has forms set up with multiple select fields.  As seen below, (Question_ID 2533) the Patient_ID, Visit_ID, and Question_ID are the same and there are 3 different answers that were chosen.  I am trying to figure
    out how to seperate these Multiple answers so I can use SSRS to pull them into seperate fields. I believe I know how to use SSRS to pull the data after I have differentiated each answer. I need help with the SQL code...
    Patient_ID   Visit_ID   Form_ID   Question_ID   Answer_ID     Answer
    124            1685        164          2533             1490             
    Muscle pain
    124            1685        164          2533             1492             
    Weight loss
    124            1685        164          2533             1494            
     Shoulder joint pain
    124            1685        164          2534            
    678                Good
    124            1685        164          2535            
    678                Good

    I was able to get the unique identifier by creating a new table using the ROW_NUMBER()OVER and PARTITION BY Functions.  Then I was able to identify each answer of the multiple choice fields.  Here is the full code.
    CREATE TABLE Multiple_Answer(
     Patient_ID INT,
     Visit_ID INT,
     Visit_Date DateTime,
     Form_ID INT,
     Form_Name nvarchar(255),
     Question_ID INT,
     Question_Name nvarchar(1000),
     Answer_ID INT,
        Answer  nvarchar(1000),
        Multiple_Answer INT)
        INSERT INTO Medred_Reporting.dbo.Multiple_Answer
               ([Patient_ID]
               ,[Visit_ID]
               ,[Visit_Date]
               ,[Form_ID]
               ,[Form_Name]
               ,[Question_ID]
               ,[Question_Name]
               ,[Answer_ID]
               ,[Answer]
               ,[Multiple_Answer])
    SELECT        Patients.Patient_ID, Patient_Visits.Visit_ID, Patient_Visits.Visit_Date, Forms.Form_ID, Forms.Form_Name, Questions.Question_ID, Questions.Question_Name, Answers.Answer_ID,
                             Answers.Answer,
                             ROW_NUMBER()OVER
                             (PARTITION BY Patients.Patient_ID, Patient_Visits.Visit_ID,Forms.Form_ID,Questions.Question_ID
                             ORDER BY Questions.Question_ID)
                             AS Multiple_Answer
    FROM            Patient_Visits INNER JOIN
                             Patients ON Patient_Visits.Patient_ID = Patients.Patient_ID INNER JOIN
                             User_Visit_REL ON Patient_Visits.Visit_ID = User_Visit_REL.Visit_ID INNER JOIN
                             Users ON User_Visit_REL.User_ID = Users.User_ID INNER JOIN
                             Visit_Question_Answer_REL ON User_Visit_REL.User_Visit_ID = Visit_Question_Answer_REL.User_Visit_ID INNER JOIN
                             Symptom ON Visit_Question_Answer_REL.Symptom_ID = Symptom.Symptom_ID INNER JOIN
                             Question_Answer_REL ON Symptom.Question_Answer_ID = Question_Answer_REL.Question_Answer_ID INNER JOIN
                             Answers ON Question_Answer_REL.Answer_ID = Answers.Answer_ID INNER JOIN
                             Form_Question_REL ON Question_Answer_REL.Form_Question_ID = Form_Question_REL.Form_Question_ID INNER JOIN
                             Questions ON Form_Question_REL.Question_ID = Questions.Question_ID INNER JOIN
                             Protocol_Form_REL ON Form_Question_REL.Protocol_Form_ID = Protocol_Form_REL.Protocol_Form_ID INNER JOIN
                             Forms ON Protocol_Form_REL.Form_ID = Forms.Form_ID

  • Getting values from jsp in portlet

    Hi,
    I want to know if I submit values from a jsp page how can get those values in the portlet class (extends Generic portlet). I have tried accessing using actionRequest.getParameter() and also renderRequest.getParameter(). But I get null value .
    Do I need to add the below shown line also to the jsp -
    <portlet:defineObjects/>
    I am working with JSR 168 portlet. I am posting part of the jsp down let me know how can I go about this problem.
    <%@ page language="java"%>
    <form name="userForm" method="post">
    <table>
    <tr>
         <td>User Name</td>
         <td>
              <input type="text" name="userName"/>
         </td>
    </tr>
    <tr>
         <td>
              <input type="submit" label="Save"/>
         </td>
    </tr>
    </table>
    </form>
    Thanks

    Hi ,
    I created a sample portlet the way it is in notepad portlet and it worked fine for me . But the main difficulty is I am trying to convert an existing code and there the form submission happens in java script .The following code is used to submit the form and there I am not able to get the values in processAction().
    Please check the java script code and let me know if I can change it in someway which can make the submitted values available in the processAction().
    document.forms[0].action ='<portlet:actionURL><portlet:param name="mode" value="dummyVal"/></portlet:actionURL>';
    document.forms[0].submit();
    Thanks..

  • How can I get client IP address in portlet (servlet) ?

    How can I get client IP address in portlet (servlet) ?
    request.getRemoteAddr() return server IP.
    May be I must use Portal API, which extend Servlet classes, but I can't find this.
    Can any help me?

    Hi,
    Following query can help you to get the Client IP Address.
    select sys_context('userenv','ip_address') from dual;
    Thanks,

  • Can I use MachineID.getBytes() or MachineID.getUniqueID() as a unique identifier?

    The bytes from MachineID.getBytes() are not to be treated as a unique identifier for a device.  It is unique, but is volatile and not suitable to be used as an identifier.  There are various system/hardware events which can cause the MachineID bytes to change over time.  The same rule applies to MachineID.getUniqueID().  If you do .getBytes() and then compare that to AnotherMachineID.getBytes(), even though they can be the same device (but different runtime or browser), you will get a "false" if you're doing a direct byte-by-byte comparison.  This is because during the device individualization process, the device's hardware attributes are interrogated to get a hardware "fingerprint" of the device.  This is stored as a data structure in the MachineID data structure.
    The only resilient way (with limtiations, as stated in the next section) to compare to different devices to determine if they are the same device is to use MachineID.matches().  That comparison is resilient against machine hardware upgrades (changing hard drives, upgrading your video card, upgrading your CPU, reformatting your machine, changing user accounts, using different browsers, etc…). 
    (NOTE): There are 2 known limitations to using MachineID.matches():
    1. MachineID in the Chrome browser (on any platform) a randomly-generated ID string that is not tied to the hardware.  The reason for this is that with the release of Chrome Version 28 browser introduced a sandbox, where code in the browser is not allowed to communicate directly with the hardware layer. This will cause .matches() to fail if comparing a MachineID from Chrome against a MachineID from Firefox, even from the same machine.  This also means that if a user "resets Adobe Access DRM/Licenses", they will lose their ID, and it will be re-generated (as a new ID) the next time DRM content is consumed and their machine has to create a new MachineID.
    2. A similar limitation applies to iOS devices running iOS7 and higher, as a sandbox was also introduced to that platform, preventing applications from directly accessing the hardware.  If you are using iOS7 with a the Primetime Player SDK (PSDK) 1.0 or 1.1, the MachineID for all devices will be the same value, as Apple blocked the device-access APIs (which Adobe Access uses) and caused them to return a static string.  Since all iOS7 devices will return the same string when the device hardware interrogation happens, all iOS7 devices using the the PSDK 1.1 or earlier will return true when MachineID.matches() is called.  Adobe is working on a high-priority fix to this issue, which will be released in a PSDK 1.1 patch/hotfix, where another persistent API is used to bind the MachineID to the device, instead of the blocked device-access APIs.  This new binding mechanism will be persistent across application uninstall/re-installs.
    What is consistent between iOS7 and Chrome 28 (and higher), is that the MachineID will no longer be tied to the hardware attributes of the device.
    cheers,
    /Eric.

    In case you would like to find some way to do something that requires concurrency monitoring (e.g. You run a service and wish to limit the # of devices that can access a your service), the best way to do this would be to move towards a "# of concurrent streams" model, similar to Netflix.
    To do this, you can use Adobe Pass technology called Mai Tai, or implement your own technology (via cookies or authentication tokens) to limit user accounts to no more than XX concurrent streams.
    cheers,
    /Eric.

  • [CS3][JS] Uniquely identifying documents with common names - possible?

    Hi!
    Is there no way to refer directly to a document in app.documents when there are several documents with the same name open at the same time (located in different folders)?
    I have tried to assign unique labels to the documents when opening them, but have not succeeded in referring to documents by their labels, only by name - and the name not being unique, I get just one document reference (the first).
    I also tried using the documents.itemByRange function, supposedly returning an array of all documents in the range defined by the parameters sent to the function. However, sending in the same name in the "from" and "to" parameters, returned only one document:
    app.documents.itemByRange('test.indd', 'test.indd').getElements().length
    Result: 1
    //(I would have expected to get both of them)
    // Referring directly by the name:
    app.documents.item('test.indd').getElements().length
    Result: 1
    // Checking the name of the documents by their indexes:
    app.documents.item(0).name
    Result: test.indd
    app.documents.item(1).name
    Result: test.indd
    Do you really have to loop through all open documents and check their fullName to be able to uniquely identify a document if the names are not unique?
    Kind regards,
    Andreas Jansson

    Hi Dave,
    Make that three or four... ;)
    Kris at Rorohiko created a method to get unique references to two
    different documents with the same name. It's usable if you have the free
    APID ToolAssistant version 1.0.44 or higher. (it doesn't need to be
    licensed...)
    Here's an excerpt from the reference manual:
    The get doc GUID function is used as follows:
    guid =
    app.callExtension(0x90B6C,10008,document);
    This function returns a GUID (Globally Unique Identifier) for a
    document. This is a string of the form
    {nnnnnnnn-nnnn-nnnnnnnnnnnnnnnnnnnn}
    where all 'n' stand for a hexadecimal digit.
    These GUID allow you to work with same-name documents that
    are concurrently open without getting tangled in the confusion
    that occurs when using resolve calls.
    As long as a document is not moved from its original location on
    disk, it will keep the same GUID. Two documents with the same
    name but different paths will have different GUID.
    Opening, closing, (re)saving to the same location will NOT
    change the GUID.
    Moving a document to another location will change the GUID.
    The find open doc by GUID function is used as follows:
    doc = app.callExtension(0x90B6C,10009,guid);
    This function retrieves a reference to an already open document
    based on its GUID string.
    These GUID strings are unique and persistent and allow
    persistent references to same-name documents without resolvelike
    issues (but the documents are meant to be 'unmovable' i.e.
    they cannot be renamed or moved to another folder). Once the
    document is open, it can be retrieved via its GUID.
    HTH,
    Harbs

  • Problem using SQL-LOADER and Unique Identifiers

    I'm trying to load a fixed-length records file containing people names and phone numbers. Data is specified as follows
    Toni Tomas66666666669999999999
    Jose Luis 33333333330000000000
    Notice that a maximum of 2 numbers can follow a person name, and 0000000000 means "no number specified".
    I want to assign a unique identifier to people (instead of using the NAME field as a Primary Key) using an Oracle Sequence. I did that, but I don't know
    how to assign the same id to each number.
    Considering the 2 previous lines, desired result should be:
    PEOPLE
    ======
    1     Toni Tomas
    2     Jose Luis
    TEL_NUMBERS
    ===========
    1     6666666666
    1     9999999999
    2     3333333333
    In order to achieve that, my Control File looks like this
    LOAD DATA
    INFILE phonenumbers.txt
    INTO TABLE people
         personID "mySequenceName.nextval", --an Oracle sequence
         name POSITION(1:10) CHAR
    INTO TABLE tel_numbers
    WHEN phonenumber !='0000000000'
         personID !!!DON'T KNOW HOW TO REFERENCE THE SAME ID!!!!
         phonenumber POSITION(11:20) CHAR
    INTO TABLE tel_numbers
    WHEN phonenumber !='0000000000'
         personID !!!DON'T KNOW HOW TO REFERENCE THE SAME ID!!!!
         phonenumber POSITION(21:30) CHAR
    I tried lots of things, but anyone works:
    a) reference the ID using something like ":\"people.personID\" (or similar aproaches)
    b) using a BEFORE INSERT TRIGGER getting the CURRVAL value of the Sequence. This solution
    does not work because it seems that all people is loaded before any telephone number. Hence,
    all phone numbers are associated, wrongly, to the last person in the data file.
    Does anyone know how can I solve this issue?
    Help would be appreciated. Thank you.

    Hi V Garcia.
    Information within the file is correct. Each line represents a COMPLETE record (Part of the line represents parent information and the rest is children data). As you can see in my first message, you can have more than one detail for a given master (i.e. two phone numbers):
    Toni Tomas66666666669999999999
    (10 chars for the name, 10 for each phone number. Thus, 2 children records to be created)
    With the solution given by Sreekanth Reddy Bandi (use of CURRVALUE within the SQL-Loader Control File), not all the details are linked to the parent record on the DB tables. It seems SLQ-Loader gets crazy when there is such amount of information.

  • Unique Identifier Variables

    I am calling a coldfusion remote object, and I wish to take a variable that is stored as a unique identifier and pass it in my flex app. Here is the error I presently get, attempting to store it as a string.
    [Macromedia][SQLServer JDBC Driver][SQLServer]Syntax error converting from a character string to uniqueidentifier.

    That's definitively an error regarding a SQL query. Do you use 
    cfqueyparam?
    Sincerely,
    Michael
    Sent from my iPhone
    El 10/07/2009, a las 11:28, Leonard Rockstein MD <[email protected]
    escribió:
    >
    I am calling a coldfusion remote object, and I wish to take a 
    variable that is stored as a unique identifier and pass it in my 
    flex app. Here is the error I presently get, attempting to store it 
    as a string.
    >
    [SQLServer JDBC Driver][SQLServer]Syntax error 
    converting from a character string to uniqueidentifier.
    >

  • Adding a unique identifier in file name

    Dear all,
    In one of the scenario(n IDOCs to 1File),
    IDOCs keep coming from SAP and at XI we are appending it in one file.
    XI transmits this file on particular time of a day(say everyday at 6 PM) to the receiver system. It implies that it is a per day interface.
    XI creates the file with the this convention: <DocName>>_<Date>.txt
    Now a new requirement has come up to add a unique identifier to this filename for every transmission, Say for ex:
    <UniqueIdentifier>_<DocName>_<Date>.txt
    The receiver system wants this, UniqueIdentifier to be in sequence, say
    0001_OrderData_20090224.txt
    0002_OrderData_20090224.txt
    Is it possible to achieve this in XI, Do we have any standard feature. or is there any workaround.
    Kindly drop in your comments.
    Thanks in advance,
    Younus

    Mohammed.
    Your interface won't work like this. If this is the situation you want to archieve then you should use the IDOC.txt as a secondary input as well.
    if you do an append on the file there is no way you can duplicate that.
    else i'd suggest you create a CMD function which does a copy and append number to that. There is a function within SAP Xi to execute a CMD line function when done.
    In this batch (or.sh) file you can copy the last file and append a number to that. Alllthough i'm not sure how dynamically that is.
    greets

  • Getting an Object Identifier String given a line of source code? HELP!

    (forgot to close the code tag on that last one!)
    Hi there,
    I am in desparate need of getting the object identifier given a particular line of source code. I need this for the debugger I'm writing, and since the jdb forum never gets reponses; just more unanswered questions.
    Right so, here's my problem in more detail. I can find out when a method is called in the Java virtual machine, and what its name is, and arguments and values and such like - using the Java Debugging Interface. BUT: unfortunately I cannot get the object identifier used in the source code that generated this call. I can however get a unique long id that identifies this object .. if that helps?(thinking hashtables here maybe?!)
    So, I may know that the constructor of EddClass has been called, and this the following line generated this call:
    EddClass edd = new EddClass();.. so what I need is a fail safe way of finding out "edd" from this - given all types of method calls.
    This is quite tricky because there are loads of ways methods can be called e.g.
    tty.getClassExclusions(); // Here I would know getClassExclusions had been called, and I would need to find out the object identifier "tty" called it
    Temp a, b, c;
    a = b = c = new Temp(); // Here I would know the constructor for Temp had been called, but now I would just want to know "c"
    AnotherEg ae = (new Egg()).getAnotherEg(); // and in this last case if I had found out that the Egg constructor had been called, I don't want to find out any object identifier from this line of code - since the object is anonymous; however if I had found out that getAnotherEg() had been called I would want "ae"Ok, well - please help: I'm making a Java Animator that will be freely available - that serves to graphically animate the execution of another java program. It'd be cool if one of you guys could help make it really cool. Plus there are Dukes available!!
    - Edd.

    this is quite a complicated question I think!
    I'm not sure but you maybe need to know just about the whole java lang. spec to do this.
    I'm sure there are plenty of free java parsers around, so unless you have a lot of time available its probably best to download one, figure some way to feed it a single line from within a code block, and extract its symbol table.
    Once you have the symbol table, there will probably be some other data available from the parser to say which are identifiers.
    Its then up to your debugger to figure out which one is the interesting one!
    sorry this is so vague but I think you've asked for something that is quite involved!
    asjf

  • Cannot uniquely identify member

    Hi all,
    while Building the dimensions in essbase i am getting a warning "Can not uniquely identify member......" in dataload.err file.
    Has any body come across this kind of error.
    also i am building the dimensions from relational database using parent/child references.
    i have enabled duplicate members in the outline.
    awaiting reply at the earliest.
    thanks in advance.

    As Glenn said...
    Turning duplicates on is one of those "grab gun, aim at foot, pull trigger" options. Apart from the dataload issues, the issues associated with "disambiguation" on the reporting side is utter insanity! It may not get you right away, but sooner or later you are guaranteed to find yourself "in the ermergency room" when you use this option.
    It's bad enough when accounting/finance calls down to ask why their "revenue is wrong" and you have to play 20 questions to narrow the issue down to something actionable, now you have even more vagueness to deal with.
    Of course, there are times when this seems perfectly "okay", as in using Month names in a year structure of a time dimension... but the additional context should have just been added to the members in the first place to avoid the redundancy of having to use them everywhere you turn anyway.
    I cannot imagine a situation in which turning the duplicate member names on is better than the two or three common alternatives to this nightmare.

  • Uniquely Identifying Different Services on one Requisition

    Uniquely Identifying Different Services on one Requisition
    When you submit multiple services on one requisition, you get one requisition number for all services.  If you want to expedite one of them or report on those services individually, you can't seem to uniquely identify them.  Is there a method to do this, like with a suffix on the requisition number?  thank you.

    Thanks for the replies.  Our first implementation of RequestCenter was late last year and we installed RC 2008.1.  What I meant by "expedite" was...if you ordered several things on one requisition (like 3 servers), and for business reasons, one of the 3 needs to be "expedited" through it's delivery process (pushed ahead), the teams want to know how they could find all the tasks associated with that one server.  I don't recall seeing RequisitionEntryID anywhere but will look again.  We have really struggl

  • The Group Policy Client service failed the sign-in The universal unique identifier (UUID) type is not supported

    Hi guys,
    we created a custom WIM Image (Windows 8 Enterprise) with MDT 2012.
    Sysprept the Image, Deployed via SCCM 2012 SP1.
    Computers are Domainjoined. Error with standard Domain User.
    On some computers (not every computer) and not with every user on the first logon following error message arises:
    The Group Policy Client service failed the sign-in The universal unique identifier (UUID) type is not supported
    It works, when you log in a second time but this error isn't very nice. 
    Is there a solution for that?
    Kind Regards
    Martin

    Hi,
    The service is responsible for applying settings configured by administrators for the computer and users through the Group Policy component. This issue can be caused by various reasons based on the computer environment.
    Can you find any information in event log about this issue?
    Here is the related blog in which the steps can solve most of such issues if the issue continuously happen.
    http://blogs.msdn.com/b/moiqubal/archive/2012/03/04/how-to-fix-quot-the-group-policy-client-service-failed-the-logon-access-denied-quot-error.aspx
    Also, you can refer to the similar thread about this issue:
    http://social.technet.microsoft.com/Forums/en-US/4a644219-50ee-494d-b965-e64a8555109e/the-group-policy-client-service-failed-the-signin-the-universal-unique-identifier-uuid-type-is
    Since this issue can be related to SCCM, to better help you, please submit a new thread for further help:
    https://social.technet.microsoft.com/Forums/en-US/home?category=systemcenter2012configurationmanager
    Hope these could be helpful.
    Kate Li
    TechNet Community Support

Maybe you are looking for

  • Creating a Configurator profile for ATV on WPA2 Enterprise?

    Alright, so I have a couple of Apple TVs (latest version) which I want to get up and running on our wireless network here at work. We have a WPA/WPA2 Enterprise network. Our access point is simply an Airport Extreme and the RADIUS server is running o

  • Can't delete photos

    I have just bought a new Mac. Everything in LR works fine on the new one, except I can't delete my photos. I flag them and hit cmd+delete, and it comes up with a box on the screen saying that the drive does not support trash, so I have to delete them

  • Configuration for public & private network

    I am working on two Separated networks and different ip range, one of the Internet, second only to traffic between the editing workstation has tried to get the open directory path to a second network and here I am having some problems, such as that c

  • Workspace and Web Analysis - null folder automatically created

    Hi. We have recently installed BI+ service pack 9.3.1.3. Since that, we have been experiencing problems on Workspace and Web Analysis: in particular, a null folder is automatically created as users login to Web Analysis Studio. Moreover, it is not po

  • 2 questions from new mac owner

    Hello all, I've found some good information on these forums and there seems to be a good community here, I'm glad I finally bought a mac. I have two questions: 1- When I copied many digital photographs from dvd's to my hard drive, all of the director