Get comp name and apply expression using it.

Hey Guys,
So basically, I've created a Vignette script using cc spotlight.  The only problem is, in order to link some expression between comps, I had to rename the main comp the vignette is being applied to.
Is there a way to get the name of a comp (the current item) and place it inside of an expression?
Here is a link to my script. It should make more sense when you check it out.
http://rapidshare.com/files/456403457/VB_Vignette3.jsx
Thanks for your help.
-Tyler

Yeah, that's the problem......
I need to get the name of the "active item" (a comp in this case) and use that name inside of an expression.
Any thoughts?
Thanks!
(Dan you're awesome!, love three d corner pin;)

Similar Messages

  • Getting Proxy name and proxy port using Hostname and port

    Hi Colleagues,
    I my Application i am consuming webserice and i am setting proxy host and proxy port using the below code :
    httpItf  = HTTPControlFactory.getInterface(port);
    httpItf.setHTTPProxy("proxy", 8080);
    But this "Proxy" is getting changed if the application is deployed to another network. (like some other landscape)
    So Could it be possible to get the proxy dynamically depending on the Hostname and port.
    such that it should automatically pick up the "ProxyHost" and "Proxy port".........depending upon the system it runs .
    Please help me out here
    Thanks & Regards
    Swetha
    Edited by: Swetha Nellore on Sep 17, 2009 7:52 AM

    Hi Colleagues,
    i have solved this by maintaining a proxy settings properties file.....where proxy settings can be changed using system administrator
    Thanks & Regards
    Swetha

  • I using new ipad 32gb and i cant get user name and password how i configure it ? please give me solution

    im using new ipad 32gb and i cant get user name and password how i configure it ? please give me solution

    What do you mean 'can't get user name and password' ? What are you trying to do with your iPad and what happens when you do it ?

  • Get Attachment Name and from address of mail in bpel process

    Hi All,
    I am using UMS Adapter to poll email server and  getting the attachment and saving it to local disk.
    In Payload from UMS adapter  i am getting href of the attachment  but I am not able to figure out as to how to get Attachment Name and From Address of a mail in my Bpel process.
    please guide me in getting them .
    Thanks in Advance
    Divyanshu

    1. Double click on your composite receive activity.
    2. Go to Properties tab in your receive activity.
    3. Click "+".
    4. Window that pops up,scroll down and select "jca.ums.from" and store it in some variable say fromAddress (Make sure before adding this property u create fromAddress variable of string data type).
    5. Click OK.
    6. In the same way add property for "jca.ums.msg.content-description" from drop down and assing it to some variable.
    you are good to go.
    Hope this helps.
    Regards,
    Karan
    Oracle Fusion Middleware Blog

  • Query to get the name of the tables used in a View?

    Hi,
    Could you please help me in getting the name of the tables used in a perticular view?
    Please help me out...
    thnx in advance.
    Thnx,
    Bits
    Edited by: Bits on Sep 14, 2009 2:15 PM

    There is no data dictionary table that stores this directly.
    - You could get the DDL used to create the view and parse that SQL. Depending on how complex the view might be, this could be relatively easy or highly complex.
    - You could get a recursive list of the objects that the view depends on (from ALL_/USER_/DBA_DEPENDENCIES) and trace those dependencies back to all the tables that the view depends on. If your view calls functions, however, this may or may not be what you're looking for. If you are selecting from just one table in the FROM clause but you are calling a function that references a dozen tables, do you want one row? Or thirteen? What about tables referenced in a correlated subquery in the WHERE clause?
    Justin

  • Get period name on query to use it in report

    i want get period name on query to use it in report
    the query
    get period name on query to use it in report
    SELECT itm.item_number item_no,
    itm.description item_desc1,
    mtl.organization_code,
    cpt.cost_cmpntcls_code,
    cpt.cost_cmpntcls_desc,
    adj.cost_analysis_code,
    adj.adjust_qty,
    adj.adjust_qty_uom,
    adj.adjust_cost,
    adj.reason_code,
    rsn.reason_desc,
    adj.organization_id,
    adj.period_id,
    adj.cost_type_id
    FROM cm_adjs_dtl adj,
    mtl_item_flexfields itm,
    cm_cmpt_mst cpt,
    cm_reas_cds rsn,
    mtl_parameters mtl
    WHERE adj.inventory_item_id = itm.inventory_item_id
    AND adj.organization_id = itm.organization_id
    AND adj.cost_cmpntcls_id = cpt.cost_cmpntcls_id
    AND adj.reason_code = rsn.reason_code
    AND adj.organization_id = mtl.organization_id
    /* AND adj.period_id = :period_id
    AND adj.cost_type_id = :p_cost_type_id */
    AND adj.delete_mark = 0
    AND adj.reason_code = 'ADJ'
    and adj.cost_analysis_code = 'EXP'

    See Link between mtl_material_transactions,org_acct_periods, gl_period_statues
    Hope this answers your question,
    Sandeep Gandhi

  • How to get Server Name and port. Urgent.....

    Hi,
    Please let me know how can i get the server name and port without using request object.
    I am getting it :- request.getServerName();
    But, pl. let me know how can I get it without using this request object.
    Waiting for reply..

    I don't know of any way to trivially access that, but why do you need to do this? If you need access to that information in a method that can't see your HttpServletRequest, then perhaps your architecture has a flaw, and you'll be better off in the long run restructuring it.

  • I can not get any updates and therefor not use Java as it only run updates for Mac 10.7. and later? How do i get the updates to install and use Java?

    I can not get ny updates and therefore not use Java, as it only run updates for MAC 10.7. and later. How do i get the updates to install and use JAVA ?

    In Snow Leopard you update Java from Software Update (in the Apple menu). You can check your version by opening Terminal and typing
    java -version
    (don't get creative and type anything else)
    The latest version is 1.6.0_65.

  • Running iTunes 11.0.3 64bit Windows 7. The "join Tracks" line has disappeared from the box that opens when you click "options" after inserting a CD. Only 2 lines show up: "Get track names" and "Submit CD Track names". Where did "Join Tracks" go?

    Running iTunes 11.0.3 64bit Windows 7. The "join Tracks" line has disappeared from the box that opens when you click "options" after inserting a CD. Only 2 lines show up: "Get track names" and "Submit CD Track names". Where did "Join Tracks" go?

    i have the same problem no radio stations at all bit shabby hate technolgy now adays

  • Get User Names and Mail Ids present in Exchange Server

    Hello All,
    Can we get all the names and mail ids present in the exchange Server global address book?
    I tried one example but it is giving error.
    Exception in thread "main" javax.naming.CommunicationException: [LDAP: error
                code 2 - Protocol Error]; remaining name 's=satheesh'
    Code is given below:
    Hashtable env = new Hashtable(11);
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL, "ldap://mailserver:389");
    DirContext ctx = new InitialDirContext(env);
    Attributes answer = ctx.getAttributes("s=satheesh");
    Any example code to get user names and mail ids will be helpful.
    Thanks in advance.
    Regards,
    Satheesh A
    [email protected]

    Hi Satheesh,
    I am new to LDAP. I am facing the exact same problem as you mentioned. Did you solve your problem?
    Thanks for any help you can provide.
    Hello All,
    Can we get all the names and mail ids present in the
    exchange Server global address book?
    I tried one example but it is giving error.
    Exception in thread "main"
    read "main" javax.naming.CommunicationException:
    [LDAP: error
    code 2 - Protocol Error]; remaining name
    aining name 's=satheesh'
    Code is given below:
    Hashtable env = new Hashtable(11);
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL,
    "ldap://mailserver:389");
    DirContext ctx = new InitialDirContext(env);
    Attributes answer = ctx.getAttributes("s=satheesh");
    Any example code to get user names and mail ids will
    be helpful.
    Thanks in advance.
    Regards,
    Satheesh A
    [email protected]

  • Getting Asset Name and ID using postgreSQL command line

    Hi,
    I`m excited by the possibility of getting/putting Annotations from/to FCSvr from command:
    /Library/Application\ Support/Final\ Cut\ Server/Final\ Cut\ Server.bundle/Contents/Resources/sbin/fcsvr_run psql px pxdb -c "select * from pxtcmdvalue;"
    Using grep and awk (print) it`s possible to extract individual fields. But first I need to identify
    Assets Names with Assets ID`s.
    Anyone know how to get from command line an asset name from ID and vice versa?
    In other words: If I grep for the ID and awk for the 3, 4, and 5 column I can extract TCIN, TCOUT and the Annotations from that Asset ID. But I want to know what Asset is and write to a text file with the asset name and not the asset ID.
    The syntax would be more or less like this:
    For each ID on the pxtcmdvalue (first column is entityID) get from FCSvr (or from db) the AssetName the columns with TCIN, TCOUT and Value of Annotations. Put (append if more than one entries) this on a tabulated text file named after AssetName.
    I`m sorry for not being so "program write" like, but I try! ahaah
    Thanks!

    Hey guys,
    Thank you very much for all this help! Especially fbm! Thanks a lot!
    Regarding inserting into annotation I could manage to do that , as I`ve said, I`m stubborn! hehehehe
    with this command you can insert an annotation (ONE with each command) into a clip:
    /Library/Application\ Support/Final\ Cut\ Server/Final\ Cut\ Server.bundle/Contents/Resources/sbin/fcsvr_run psql px pxdb -c "INSERT INTO pxtcmdvalue VALUES (72, 1527, '00:35:41;09/(30000,1001)', '00:36:28;24/(30000,1001)', 'if works I`ll be very happy!', 1, '2009-03-15 19:31:15.839795-03');"
    Of course, remembering to change all things inside single quotes.
    The only catch is that you`ll have to know the entityid for the asset in question. Of course, looking into fbm post above it`s possible to "translate" the entityid into the ASSETID, but I don`t know how to parse this inside the parentheses. Maybe letting the "72" (in my case) entityid as "entityid" and outside the parentheses translating with INNER JOIN???
    We`re almost there!! I`m glad that this is here, opened to every one that wants to adventure into FCSRV "dark" side!
    Just remember, this is NOT supported by APPLE! I`m testing this on a test FCSRV installed on a mini (yes I could "hack" into the "detecting hardware" and disable to manage to install).
    Just one more thing: I`ve read somewhere that the pxatommap table has ALL that FCSRV could provide (and of course yours custom md). I`m trying to get ALL this fields to each asset. I`ve tried the command:
    /Library/Application\ Support/Final\ Cut\ Server/Final\ Cut\ Server.bundle/Contents/Resources/sbin/fcsvr_run psql px pxdb -c "SELECT * FROM pxatommap INNER JOIN pxmdvalue ON pxatommap.id = pxmdvalue.fieldid"
    But it`s very messy and it`s not for one asset.
    Thanks again you all that took the time to post to help others like me!
    Regards!

  • How to get Cookie Name and Value Using HttpGetterCallback - CE 7.3

    Hi All,
    We are migrating from Netweaver 7.0 to 7.3. We are facing a issue when migrating the custom login module from 7.0 to 7.3.
    Since WebCallback is deprecated and not to be used in Netweaver 7.3, we are finding difficulties in getting the cookie name and value. Please find below our coding for getting the cookie value using HttpGetterCallback. We are not getting the cookie name and value, Kindly let us know if we are implementing the HttpGetterCallback correctly.
    HttpGetterCallback httpGetCookieCallback = new HttpGetterCallback();
    httpGetCookieCallback.setType(HttpCallback.COOKIE);
    Callback] callbks = new Callback[ { httpGetUrlCallback, httpGetCookieCallback };
    callbackHandler.handle(callbks);
    requestUrl = (String) httpGetUrlCallback.getValue();
    Cookie] cookies = (Cookie [) httpGetCookieCallback.getValue();
    if (cookies != null) {
    for (int i = 0; i < cookies.length; i++) {
    location.debugT("Cookies name " + cookies.getName()
    + " - value "
    + cookies.getValue());
    Thanks and Regards,
    Saravanan

    Try This-
            Cookie cookiesArray[] = request.getCookies();
         Cookie currentCookie = null;
         String currentCookieName = "";
         String cookieValue = "dummycookie";
         int cookieArrayLength = cookiesArray.length;
         for (int i = 0; i < cookieArrayLength; i++) {
              currentCookie = cookiesArray<i>;
              currentCookieName = currentCookie.getName();
              cookieValue = currentCookie.getValue();
    Regards,
    Atul

  • Need to get the name and the Site ID of a specific user using SharePoint Webservices

    Hi,
    I need to get the User's name by passing the Login Name using SharePoint OOB Web Services.
    I need to pass DOMAIN\\Login ID and get the User's Info i.e. Name and the ID of a particular site.
    I'm trying to use GetuserInfo:
    $(document).ready(function () {
    var soapEnv = "<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">"+
    "<soap:Body>"+
    "<GetUserInfo xmlns=\"http://schemas.microsoft.com/sharepoint/soap/directory/\">"+
    "<userLoginName>DOMAIN\\Login ID</userLoginName>"+
    "</GetUserInfo>"+
    "</soap:Body>"+
    "</soap:Envelope>";
    $.ajax({
    url: "<http://SiteURL>/_vti_bin/usergroup.asmx",
    beforeSend: function (xhr) {
    xhr.setRequestHeader("SOAPAction",
    "http://schemas.microsoft.com/sharepoint/soap/directory/GetUserInfo");
    type: "POST",
    dataType: "xml",
    data: soapEnv,
    complete: processResult,
    contentType: "text/xml; charset=\"utf-8\""
    function processResult(xData, status) {
    alert("Status : " + status);
    alert(xData.responseText);
    console.log(xData.responseText);
    But i get error stating that User does not exist.
    Appreciate all your help.
    Regards,
    Sachin

    Hi Sachin,
    The following code for your reference:
    <script src="http://code.jquery.com/jquery-1.11.1.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function () {
    var url ="http://sharepoint/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)?@v='contoso\\administrator'";
    $.ajax({
    url: url,
    method: "GET",
    headers: { "Accept": "application/json; odata=verbose" },
    success: function (data) {
    var results=data.d.UserProfileProperties.results;
    error: function (data) {
    </script>
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to get User's Name and Email to use in an InfoPath Form?

    Hey guys,
    I created a form that MUST have the user filling it out and his/her email in it, but I don't want the user to type it, instead I'd like the form to get it from Office 365 AD, since this form is in Sharepoint Online via Office 365.
    How can I do that?
    Thanks.

    I tried it, but the closest it got was showing the user's Group, not name and definitely no email, I don't know if this is because it's SharePoint Online and not OnSite and I don't know if UserProfileService is available there, I did not see it in the Site
    Collection Features to enable it.
    Any other idea/solution? without this info my form will not work.
    Thanks.

  • How to get the name and value of an attribute on a node/element that is not a child

    Hello,
    Can someone shed some wisdom on how I can compare 2 xml nodes for differences.
    My main challenge is I need to use the attributes/values of 'ProductDescription' and 'Features' as 'key' to identify the same node in
    another doc with the same layout, but different content.
    I am having trouble getting the name of the attribute on the node, 'ProductDescription' and 'Features'.  I can only seem to get the node names, but not the attributes on the node.  I need the name, because it can be different from doc to doc, so
    I can't hardcode this.
    Can someone please help with how to retrieve an attribute name/value on a node that is not a child.  Here's an example of what
    my xml looks like:
    DECLARE
    @myDoc1 xml
    ,@mydoc2 xml
    DECLARE
    @ProdID int
    SET @myDoc1 ='<ProductDescription ProductID="1" ProductName="Road Bike">
    <Features  featureID  = "1" featureName = "body">
      <Warranty>1 year parts and labor</Warranty>
      <Maintenance>3 year parts and labor extended maintenance is available</Maintenance>
    </Features>
    <features featureID = "2" featureName = "seat">
      <Warranty>1 year parts and labor</Warranty>
      <Maintenance>2 year parts and labor extended maintenance is available</Maintenance>
    </Features>
    </ProductDescription>
    SET @myDoc2 ='<ProductDescription ProductID="1" ProductName="Road Bike">
    <Features  featureID  = "1" featureName = "body">
      <Warranty>2 year parts and labor</Warranty>
      <Maintenance>3 year parts and labor extended maintenance is available</Maintenance>
    </Features>
    <features featureID = "2" featureName = "wheel">
      <Warranty>1 year parts and labor</Warranty>
      <Maintenance>2 year parts and labor extended maintenance is available</Maintenance>
    </Features>
    </ProductDescription>
    I need to compare the attributes of 'ProductDescription' and 'Features' from @mydoc1 against @mydoc2 to see if they are the same based on those 2 nodes first.  If they are, then i want to show the difference in the child elements. 
    This will eventually be an outer join to give me the differences betw the 2 docs based on those key values (node attributes).
    I used node('//*') for the path, and value('local-name(../.)', 'varchar(50)') as element
    ,value('.[not(@xsi:nil = "true")]','VARCHAR(255)') AS new_value
    ...etc...
    but that only gives me the node names, and the child elements.  It does not give me back the attribute names and values from the node itself.
    Thanks in advance for your help.
    cee

    Are you looking for something like this:
    DECLARE @myDoc1 xml
    SET @myDoc1 ='<ProductDescription ProductID="1" ProductName="Road Bike">
    <Features  featureID  = "1" featureName = "body">
      <Warranty>1 year parts and labor</Warranty>
      <Maintenance>3 year parts and labor extended maintenance is available</Maintenance>
    </Features>
    <Features featureID = "2" featureName = "seat">
      <Warranty>1 year parts and labor</Warranty>
      <Maintenance>2 year parts and labor extended maintenance is available</Maintenance>
    </Features>
    </ProductDescription>'
    SELECT T.c.value('local-name(.)', 'nvarchar(50)') AS name,
           T.c.value('.', 'nvarchar(50)')  AS value
    FROM   @myDoc1.nodes('ProductDescription/@*') AS T(c)
    Erland Sommarskog, SQL Server MVP, [email protected]

Maybe you are looking for

  • [Urgent]   sending a custom report to 200+ users

    Hi, I am new to BO and wanted to know if there is an option in BO to Automate report to be sent to a group of users. Say for example, if there is a report with details of Employees. Assume there are n number of managers, each manager should get a rep

  • FindClass can't find a class. need  HELP.

    In my C++ code, JavaVMOption options[2]; JavaVMInitArgs vmArgs; options[0].optionString=(char*)"-Djava.class.path=/javahome/V1.3/lib/dt.jar:/javahome/V1.3/lib/tools.jar:/javahome/V1.3/jre/lib/rt.jar:/javahome/V1.3/jre/lib/i18n.jar:/myapps/lib/myLib.j

  • Weird Issue with swf in dreamweaver

    I need help, this is very frustrating- I have a flash file that when the mouse clicks it populates the UILoader. When I test my movie it works. When I publish preview html in flash it works. When I drag the .swf file onto any browser it works. The pr

  • Sneak Peek : Perspective Warp in Photoshop | Adobe Technology Sneaks 2013 | Adobe TV

    Ever wished you had gotten closer to take your picture? Perhaps you were not right in front of your subject, or were too high or too low? This Photoshop sneak will let you adjust the perspective of parts of your shot while keeping the rest of the ima

  • Airplay stopped working on ipad3

    Hi airplay previously worked fine on my ipad 3 - streamed to my apple tv which is plugged in to the router. Suddenly it has stopped working - I open airplay on the ipad, select apple tv , it pauses for a while then flicks back to ipad selected. I've