Need help on quick links

Hi All,
can anybody please help me on quick links in portal.
Thanks,
vinodh

Hi Vinodh,
Quick links are shortcuts to iViews and pages. Each quick link is a string that you add to the default portal URL in order to navigate to a specific iView or page.
Quick links provide a meaningful name for iViews and pages to which users may want to navigate.
Quick links are created by setting the Quick Link property of a page or iView. They can be assigned to any page or iView navigation node to which navigation is possible.
To view the page or iView, append a slash (/) to the default portal URL, followed by the quick link
The quicklink will appear like below
http://<hostname>:<port num>/irj/portal/<created quicklink>.
You can get more information in the following links,
https://forums.sdn.sap.com/click.jspa?searchID=13634833&messageID=5159331
https://forums.sdn.sap.com/click.jspa?searchID=13634833&messageID=5200131
https://forums.sdn.sap.com/click.jspa?searchID=13634896&messageID=797026
https://forums.sdn.sap.com/click.jspa?searchID=13634896&messageID=4191467
https://forums.sdn.sap.com/click.jspa?searchID=13634896&messageID=1686658
https://forums.sdn.sap.com/click.jspa?searchID=13634896&messageID=3892384
http://help.sap.com/saphelp_nw70/helpdata/en/97/b0ef8b24a64ae884f0ab246e54cae5/content.htm
Regards,
Rudradev Devulapalli

Similar Messages

  • ComboBox (dropdown) Need Help Adding URL links!!!

    I am somewhat of a newbie....Anybody know how to use URL
    links in a ComboBox dropdown menu? NEED HELP!!!!!!! I'm trying to
    make it so that after selecting an option, the user is directed to
    another URL within the same browser window. Using flash 8!
    Thanks,

    Im a bit a newbie myslef but i think you make flash
    commuincate to javascript wich will make the browser goto the URL.
    do a search on getURL and javascript together and i am sure
    you will find something.
    And when slecting to redirct i think its on?(onPress)
    something so maybe look throught the help section in flash 8 and
    look at componets. I think there is some actionscript help there.
    Sorry i could not be more helpful.

  • I need help with circular linked list

    Hi,
    I need help with my code. when I run it I only get the 3 showing and this is what Im supposed to ouput
    -> 9 -> 3 -> 7
    empty false
    9
    empty false
    3
    -> 7
    empty false
    Can someone take a look at it and tell me what I'm doing wrong. I could nto figure it out.
    Thanks.This is my code
    / A circular linked list class with a dummy tail
    public class CLL{
         CLLNode tail;
         public CLL( ){
              tail = new CLLNode(0,null); // node to be dummy tail
              tail.next = tail;
         public String toString( ){
         // fill this in. It should print in a format like
         // -> 3 -> 5 -> 7
    if(tail==null)return "( )";
    CLLNode temp = tail.next;
    String retval = "-> ";
         for(int i = 0; i < -999; i++)
    do{
    retval = (retval + temp.toString() + " ");
    temp = temp.next;
    }while(temp!=tail.next);
    retval+= "";}
    return retval;
         public boolean isEmpty( ){
         // fill in here
         if(tail.next == null)
              return true;
         else{
         return false;
         // insert Token tok at end of list. Old dummy becomes last real node
         // and new dummy created
         public void addAtTail(int num){
         // fill in here
         if (tail == null)
                   tail.data = num;
              else
                   CLLNode n = new CLLNode(num, null);
                   n.next = tail.next;
                   tail.next = n;
                   tail = n;
         public void addAtHead(int num){
         // fill in here
         if(tail == null)
              CLLNode l = new CLLNode(num, null);
              l.next = tail;
              tail =l;
         if(tail!=null)
              CLLNode l = new CLLNode(num, null);
              tail.next = l;
              l.next = tail;
              tail = l;
         public int removeHead( ){
         // fill in here
         int num;
         if(tail.next!= null)
              tail = tail.next.next;
              //removeHead(tail.next);
              tail.next.next = tail.next;
         return tail.next.data;
         public static void main(String args[ ]){
              CLL cll = new CLL ( );
              cll.addAtTail(9);
              cll.addAtTail(3);
              cll.addAtTail(7);
              System.out.println(cll);          
              System.out.println("empty " + cll.isEmpty( ));
              System.out.println(cll.removeHead( ));          
              System.out.println("empty " + cll.isEmpty( ));
              System.out.println(cll.removeHead( ));          
              System.out.println(cll);          
              System.out.println("empty " + cll.isEmpty( ));
    class CLLNode{
         int data;
         CLLNode next;
         public CLLNode(int dta, CLLNode nxt){
              data = dta;
              next = nxt;
    }

    I'm not going thru all the code to just "fix it for you". But I do see one glaringly obvious mistake:
    for(int i = 0; i < -999; i++)That says:
    1) Initialize i to 0
    2) while i is less than -999, do something
    Since it is initially 0, it will never enter that loop body.

  • Flash CS5 Newbie - Need help adding URL link to animated banner

    I apologize if this is a very basic question, but I am a newbie at designing in Flash. I have created a basic animation in Flash CS5 and I need to add a clickable URL link to it. I've tried a few tutorials that looked promising, but none of them solved my problem. I've tried a number of things including converting parts or all of the images to simple buttons or movies and linking them that way as well as typing in code for ActionScript 2 and 3, none of which were successful. The animation plays correctly when viewed in my browser, but when I click on it, the link does not work. I would prefer that the entire banner be clickable to take viewers to the linked website rather than using hyperlinked text. Also, when I open the Code Snippets window, it is empty, no matter what image or frame I've selected. Do I need to import code snippets from somewhere or am I simply going about things the wrong way? Any help is greatly appreciated!

    It all depends whether you're decisively using AS2.0 or AS3.0 .
    In the latter, you would need to use a URLRequest() method in conjunction with a navigateToUrl() call (not sure the exact syntax for navigate to Url, it might be a capitalized "URL" in the method but the request takes a String argument such as http://www.adobe.com)

  • Project -  need help rather quickly

    I am doing a 2 minute/ish long small project which will involve images flowing across the screen......with text which appears over them. Thats it taken down to basics.
    http://www.coremelt.com/products/products-for-final-cut-studio/imageflow-demo-re el.html
    is pretty much the effect i want to go for, but i am wondering if i can do those type of effects in FCP (i have about 3 weeks) without that plugin?
    If so can someone post some type of tutorials, to help a novice out.
    If not....i suppose i will need to buy the plugins in the video for £50.
    thanks

    Do you have only Final Cut Pro, or also Motion? This sort of animation can be done in either. But if you're not that familiar with the methods to set up the animations and managing all the tracks/objects involved it would certainly take a lot less time to use a canned animation tool like the one you linked to. It depends on whether you're getting paid to do this, I would imagine!

  • Need help with href link that submits

    I need some help. I dynamically create HTML that displays a horizontal row of page numbers in Position 8. Although they look like page numbers to the use, are not true Apex pages, but rather "logical" pages that change the content in a single Apex physical page. The URL that gets returned from the HREF sets a variable in the page. Then I need a submit to occur so that all my "after submit" processes run, and the page re-renders. Is this even possible? I've been unsuccessful so far.
    Thanks.

    Martin,
    Two things...
    1. Be careful about "hard coding" values in a link. I don't know if you've already done this, but the link should use substitution variables as so...
    f?p=&app_id.:&app_page_id.:&app_session.::NO::P94000_LOGICAL_PAGE_NUM:2
    When the page renders each substitution variable will be replaced with the correct value.
    2. Not that it really matters, but you named your variable starting with P94000. Typically this would indicate the variable appears on page 94000. Is this the case?
    The problem with what you want to do is that it can be done so many different ways. Each way is not necessarily better than the other. Number 1 above is using a link in the traditional sense. It's a link to the same page (achieved by using app_page_id). It will not submit the page but it contains enough information to set the value of a variable and you can code off of that variable's value.
    You could use a JavaScript trick, but I wouldn't bother for this. In addition, you could use the request value over a variable value to feed off of but since you already started with the variable I'd stick with that.
    The first thing you need to do is figure out if your variables value is being set with the link... Let me know if you have more questions.
    Regards,
    Dan

  • Need help with different link styles on same page

    Hello,
    I'm using Dreamweaver CS4 on a PC.
    I have searched through a lot of posts over the last couple of days, I've tried the projectseven.com tutorial, google'd, etc. but still can't figure it out.....
    All I want to do is apply a different link colour to some links in the footer of my page. Elsewhere through the site I have set the colour to blue (for the link) and orange (for the hover) - for the footer links I want the link to be white and the hover colour to stay orange.
    The problem with the projectseven tutorial is that it doesn't seem to apply to CS4 and I kept getting error messages when trying to apply a new CSS rule - there's no Class|Tag|Advanced options as per the instructions ....
    I've copied the code of my page to this. The links which I want to apply a different style to are contained in the Div Tag called "Footer-Navigation-Bar" .
    Could someone please give me some instructions or point me in the right direction please??
    Many thanks,
    Vickie
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- saved from url=(0014)about:internet -->
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Subscribe to Family Australia - it's free!</title>
    <!-- TemplateEndEditable -->
    <link href="../family-subscribe.css" rel="stylesheet" type="text/css" />
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <style type="text/css">
    <!--
    a:link {
    color: #30C;
    text-decoration: none;
    a:hover {
    color: #F30;
    text-decoration: none;
    a:visited {
    text-decoration: none;
    a:active {
    text-decoration: none;
    -->
    </style></head>
    <body>
    <div id="container">
      <div id="banner">
        <ul id="family-subscribe-menu" class="MenuBarHorizontal">
          <li><a href="../index.html">Home</a>      </li>
          <li><a href="../subscribe.html">Subscribe</a></li>
          <li><a href="../family-advertise.html">Advertise</a>      </li>
          <li><a href="../family-articles.html">Articles</a></li>
    <li><a href="../family-sign-in.html">Issues</a></li>
          <li><a href="../family-contribute.html">Contribute</a></li>
    <li><a href="../family-contact.html">Contact</a></li>
        </ul>
    </div>
        <div id="sidebar"><a href="../family-sign-in.html"><img src="../images/launch-issue.jpg" alt="launch-issue" width="220" height="380" hspace="4" /></a>
          <div id="sidebar-image2">
            <p><img src="../images/Sleeping bag for web.jpg" width="220" height="151" alt="sleeping-bag" /></p>
            <p>Kozy Koala™ Pillow Sleeper is ideal for those  summer nights when the kids want to sleep out or when you go camping. The  all-in-one pillow camper consists of …. [MORE]</p>
          </div>
          <div id="sidebar-image3">
            <p><img src="../images/solrx for web.jpg" width="220" height="164" alt="sunscreen" /></p>
          SolRX® Sunscreens are very sweat and water  resistant – ideal for anyone who leads an active outdoor lifestyle … whether  you’re in the water or not! [MORE]</div>
      </div>
        <!-- TemplateBeginEditable name="main-content-region" -->
        <div id="main-content">main content</div>
        <!-- TemplateEndEditable -->
      <div id="footer">
    <div id="footer-navigation-bar"><a href="../family-about.html">about</a> | <a href="../family-advertise.html">advertise</a> | <a href="../family-contribute.html">contribute</a> | <a href="../family-contact.html">contact</a> | <a href="../family-unsubscribe.html">unsubscribe</a></div>
          <div id="footer-text">Family Australia | ABN 33150685385 | For all advertising enquiries please contact <a href="mailto:[email protected]">[email protected]</a><br />
    Copyright © 2010 Family Australia. All rights reserved.
    </div>
      </div>
      </div>
    </div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("family-subscribe-menu", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    </html>

    The links which I want to apply a different style to are contained in the Div Tag called "Footer-Navigation-Bar" .
    a:link {
    color: #30C;
    text-decoration: none;
    a:hover {
    color: #F30;
    text-decoration: none;
    a:visited {
    text-decoration: none;
    a:active {
    text-decoration: none;
    Hello
    You can see above the CSS that applies to your links.  If you have links that you want to style in a diferent way, just write the rule Like this:
    #Footer-Navigation-Bar a:link {
    color: red;
    text-decoration: none;
    Or whatever.  There are other ways but this will do you as you already have those links you want styled differently in a div with its own ID.  The new rule should come after the other rules in your CSS I think to make sure of the cascade although thinking about it,  there's something called specificity in CSS which means that the rule that I suggest will win out anyway.  All that you are doing in my suggestion is selecting the a:link that is a descendant of an element with that particular ID.
    I hope that helps.  I'm a bit of a novice and might have got a bit jumbled with the cascade/specficity thing but hey, I reckon that will get you where you want to go....
    Martin.

  • Need help for hotspot linking from an ALV Grid to another transaction

    Hi all,
    I have to make a field in an ALV Grid link to a transaction. I activated the hotspot for the field in the field catalog and created a 'User_command' that i call in the REUSE_ALV_GRID_DISPLAY, but when i click on the hotpsot, it doesnot take me to the transaction. Please provide some help.
    Here is the code:
    *Internal table and work area for field catalog
    DATA: i_fieldcat TYPE STANDARD TABLE OF slis_fieldcat_alv,
              wa_fieldcat TYPE slis_fieldcat_alv,
              v_repid LIKE sy-repid,
              wa_layout TYPE slis_layout_alv,
              i_event TYPE slis_t_event,
    internal table and work area for subtotals
            i_sort TYPE STANDARD TABLE OF slis_sortinfo_alv,
            wa_sort TYPE slis_sortinfo_alv.
      PERFORM prepare_fieldcatalog.
      PERFORM prepare_layout.
      PERFORM prepare_subtotal.
      PERFORM display_alv.
    FORM display_alv .
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
       i_callback_program               = v_repid
       i_callback_pf_status_set          = 'STATUS'
       i_callback_user_command           = 'USER_COMMAND'
        is_layout                         = wa_layout
        it_fieldcat                       = i_fieldcat
       IT_SORT                           = i_sort
       it_events                         = i_event
        TABLES
          t_outtab                          = i_final
    EXCEPTIONS
       program_error                     = 1
       OTHERS                            = 2
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " display_alv
    *&      Form  prepare_fieldcatalog
    FORM prepare_fieldcatalog .
      PERFORM f_build USING:
        c_bukrs text-011,
        c_gjahr text-012,
        c_lifnr text-013,
        c_ebeln text-014,
        c_ebelp text-015,
        c_dmbtr text-016,
        c_hkont text-017,
        c_wrbtr text-018,
        c_wmwst text-019,
        c_mwskz text-020,
        c_text1 text-021,
        c_kbetr text-022,
        c_spcode text-023.
    ENDFORM.                    " prepare_fieldcatalog
    *&      Form  f_build
    FORM f_build  USING    p_c_fieldname TYPE slis_fieldname
                           p_text TYPE c.
      CLEAR wa_fieldcat.
      CASE p_c_fieldname.
        WHEN c_dmbtr OR c_wrbtr OR c_wmwst.
          wa_fieldcat-do_sum = 'x'.
      ENDCASE.
      IF p_c_fieldname = c_ebeln.
        wa_fieldcat-hotspot = 'X'.
      ENDIF.
      wa_fieldcat-fieldname = p_c_fieldname.
      wa_fieldcat-seltext_m = p_text.
      APPEND wa_fieldcat TO i_fieldcat.
    ENDFORM.                    " f_build
    *&      Form  prepare_layout
    FORM prepare_layout .
      wa_layout-info_fieldname = c_rowcolor.
    wa_layout-f2code = '<F2CODE>'.
    *APPEND wa_layout to i_layout.
    ENDFORM.                    " prepare_layout
    *&      Form  USER_COMMAND
    FORM user_command USING r_ucomm LIKE sy-ucomm
                                   rs_selfield TYPE slis_selfield.
      CASE r_ucomm.
        WHEN c_back OR c_canc OR c_exit.
          LEAVE TO SCREEN 0.
        WHEN c_click.
          READ TABLE i_final INTO wa_final INDEX rs_selfield-tabindex .
          IF sy-subrc EQ 0.
            IF rs_selfield-fieldname EQ c_ebeln.
              SET PARAMETER ID c_bes FIELD wa_final-ebeln.
              CALL TRANSACTION c_me23n AND SKIP FIRST SCREEN.
            ENDIF.
          ENDIF.
      ENDCASE.
    ENDFORM.                    " USER_COMMAND
    *&      Form  status
    FORM status  USING    p_extab TYPE slis_t_extab.
      SET PF-STATUS c_standard.
    ENDFORM.                    " status
    *&      Form  prepare_subtotal
    FORM prepare_subtotal .
      wa_sort-spos = c_10.
      wa_sort-fieldname = c_mwskz.
      wa_sort-subtot = 'X'.
      wa_sort-up = 'X'.
      APPEND wa_sort TO i_sort.
    ENDFORM.                    " prepare_subtotal

    Hi,
    Check this example..
    TYPE-POOLS: slis.
    DATA: gt_fieldcat TYPE slis_t_fieldcat_alv.
    DATA: BEGIN OF wa_ekko,
    ebeln like ekko-ebeln,
    ekorg like ekko-ekorg,
    ekgrp like ekko-ekgrp,
    END OF wa_ekko.
    DATA: v_repid TYPE syrepid.
    v_repid = sy-repid.
    DATA it_ekko LIKE STANDARD TABLE OF wa_ekko WITH HEADER LINE.
    SELECT * UP TO 100 ROWS
    FROM ekko
    INTO CORRESPONDING FIELDS OF TABLE it_ekko.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
         EXPORTING
              i_program_name     = v_repid
              i_internal_tabname = 'WA_EKKO'
              i_inclname         = v_repid
         CHANGING
              ct_fieldcat        = gt_fieldcat.
    have hotspot for a PO.
    DATA: s_fieldcat LIKE LINE OF gt_fieldcat.
    s_fieldcat-hotspot = 'X'.
    MODIFY gt_fieldcat FROM s_fieldcat TRANSPORTING hotspot
           WHERE fieldname = 'EBELN'.
    Pass the program.
    v_repid = sy-repid.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
         EXPORTING
              i_callback_program      = v_repid
              it_fieldcat             = gt_fieldcat
              i_callback_user_command = 'USER_COMMAND'
         TABLES
              t_outtab                = it_ekko.
          FORM display_detail                                           *
    -->  UCOMM                                                         *
    -->  SELFIELD                                                      *
    FORM user_command USING ucomm LIKE sy-ucomm
    selfield TYPE slis_selfield.
      IF ucomm = '&IC1'.
        READ TABLE it_ekko INDEX selfield-tabindex.
        IF sy-subrc = 0.
          SET PARAMETER ID 'BES' FIELD it_ekko-ebeln.
          CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
        ENDIF.
      ENDIF.
    ENDFORM.
    Thanks,
    Naren

  • Need help with 'post link to facebook' button in php

    hi guys,
    thanks for the interest in my post...
    i want to have a button at the bottom of my main page layout (main.php) of the facebook logo where visitors can click on it to submit the page as a link to facebook.
    how can i set the button so it will post the link to whichever page the visitor is viewing i.e. when they are reading a news article the button action will post main.php?id=news and when they are on home, main.php?id=home.
    thank you very much and i hope to hear form you.
    m

    Quote from: tigers71 on 14-December-14, 00:47:36
    If anyone can link the customerchecklist.doc on the MSI website I would greatly appreciate it.  I need to RMA my laptop, and while I printed out the RMA form, I didn't print out the customer checklist document that goes with it.
    And as the original email was in my spam folder, I must have deleted it, so I don't have the link to the page the checklist is on.       I had an old link to the checklist from when I had to RMA my laptop last year, but that is no longer valid.   So if anyone has had a recent RMA of their laptop, if you can post the link, or send it to me in PM, many thanks.
    if you bought laptop from local store then you can just go to local store and RMA it there they will then pack it in and send it away to a MSI service in your country or maybe nearby country that can do repairs.

  • No Qualified People Here?   Need Help with Contact - Linking Email

    I have two pages - XML, I'll post photos . Just need to link it to my email and also I page to link social buttons.

    It is getting late here, nearly 3:00 am.
    I'll get back to you later on. But I am still in a quandary regarding the question. What I have now is
    you post photos, presumably to the website
    you send an email to yourself with a link to the image
    somewhere (please state where) you want social media images with their relative links
    I just want to link it to my own email - probably refers to point 2 above
    so when someone sends it to me - someone sends what to you. Do you post the iphoto or does it get uploaded by someone else.
    we need to disregard the XML-file

  • Need Help: Pics not linking with edits

    Hope I can be clear here...
    I changed the top folder - deleted it. Mistake on my part, learned my lesson. This made the corresponding pix in LR go red - LR can't find where the original files are. My LR edits are still there though if you click on "develop" on any of the red files.
    Is there a way to link my work to the files? Where are the file changes stored? Can I override this mistake? When I reimport the files they do import but do not link up with my LR edits.
    SO, my database is a long list of red files with no top level folder. Underneath that long list is another long list of active files with the top level folder but no LR edits. I need to sync my original files with the LR edits.
    Two years of work! Need to fix this. Ack. I refuse to let this go. There must be a way to fix this.
    Thanks,
    Jessica

    I think I may have a new insight. it's not so simple b/c a hard drive died and i had to relocate the images to another hard drive. the red folders, with the edits, is referencing a dead hard drive. the white folders, below it, which are all the same folders and pics, references the new active drive.
    i think i need to know how to find the edits. to answer the other question, i did try to load the backups but it didn't work. i think they were too recent and were backups of the current drive.
    what i think i need to do is find the old drive with the edits, but once i do, do i try to find the backups and then drag them to the new drive? i'm perplexed.
    thoughts?
    jessica

  • Need help with data link

    I have done data links where I linked from one sql to another
    on some id.
    Now I would like to link based on the month (mm),year,district_id and code_id
    How do I do this. When I link it it links based on one thing and generally the primary key displays.
    Do I need to create my on concatenated key and then tell it to use that.
    for example month || year || district_id || code_id
    then go in the property inspector and change the where to reflect this
    Howard

    I have done data links where I linked from one sql to another
    on some id.
    Now I would like to link based on the month (mm),year,district_id and code_id
    How do I do this. When I link it it links based on one thing and generally the primary key displays.
    Do I need to create my on concatenated key and then tell it to use that.
    for example month || year || district_id || code_id
    then go in the property inspector and change the where to reflect this
    Howard

  • Need help with connected / linked pop-up menus

    I want to select a preset.
    What I did is create 2 pop-up menus. The first with the preset folders and the second with the presets from that folder.
    Each pop-up group has a pop-up and a static field with the current choise.
    After selecting a different value from the first pop-up menu I want to have the second popup menu filled with the new, right presets of that folder.
    The first time everything works correct.
    However when selecting a different folder I see that the "preset table"  is filled with the correct new preset of that folder. Also the static field below the second pop-up menu shows the first value of the correct new presets. But the second pop-up menu itself still contains the presets of the first folder and not the new folder.
    Yet in the Observer I see that the preset table contains the right and new presets.
    My code is below.
    I based it on the sample in the SDK manual.
    Question: How can I update the second pop-up menu so that the pop-up menu shows the right presets.
    Code below
    local LrApplication = import 'LrApplication'
    local LrPathUtils = import 'LrPathUtils'
    local LrFileUtils = import 'LrFileUtils'
    local LrBinding = import "LrBinding"
    local LrDialogs = import "LrDialogs"local LrFunctionContext = import "LrFunctionContext"
    local LrView = import "LrView"
    local bind = LrView.bind -- shortcut for bind() method
    --     https://github.com/kikito/inspect.lua
    local inspect = require 'inspect'
    local logFilename = 'PresetList'
    local myLogger = import 'LrLogger'( logFilename )
    myLogger:enable( "logfile" )
    local logPath
    Name          emptyLogFile
    Purpose          Clears the existing log file.
    From cookbook: http://cookbooks.adobe.com/post_Clearing_your_logfile_automatically-19677.html
    function emptyLogFile()
    --local myLogger = import 'LrLogger'( 'Stash' )
    myLogger:disable()
    logPath = LrPathUtils.child(LrPathUtils.getStandardFilePath('documents'), logFilename .. ".log")
    if LrFileUtils.exists( logPath ) then
    local success, reason = LrFileUtils.delete( logPath )
    if not success then
    logger:error("Error deleting existing logfile!" .. reason)
    end
    end
    myLogger:enable( "logfile" )
    end
    Name          getLocationLogFile.
    Purpose          Returns the full path of the current log file.
    function getLocationLogFile()
    return logPath
    end
    local function getPresetFolders()
    -- Get all folders with presets
        local lrPresetFolders = LrApplication.developPresetFolders()
        local presetFolderCache = {}
    local record = {}
        for i, fo in ipairs( lrPresetFolders ) do
    record = {title = fo:getName(), value = fo }
    --record = {title = fo:getName(), value = fo:getName() }
    --myLogger:info( "folder name = " .. fo:getName() )
    table.insert ( presetFolderCache, record )
    end
    --     myLogger:info("Voor de listing")
    --     myLogger:info("preset Folders : " .. inspect (  presetFolderCache ) )
    return presetFolderCache
    end
    local function getPresets ( folderObject )
    local presets = folderObject:getDevelopPresets()
    local presetCache = {}
    local record = {}
    for j, p in ipairs( presets ) do
    record = {title = p:getName(), value = p:getName() }
    --record = {title = p:getName(), value = p:getName() }
    myLogger:info( "getPresets = " .. p:getName() )
    table.insert ( presetCache, record )
    end
    myLogger:info("presets : " .. inspect (  presetCache ) )
    return presetCache
    end
    local function ChoosePreset()
    emptyLogFile()
    local presetFolders = getPresetFolders()
    local currentPresetFolder = presetFolders[1]["value"]
    local presets = getPresets ( currentPresetFolder )
    myLogger:info(presets)
    --     myLogger:info("preset Folders : " .. inspect (  presetFolders ) )
    LrFunctionContext.callWithContext( 'Pop-up example', function( context )
    local f = LrView.osFactory() -- obtain view factory
    local properties = LrBinding.makePropertyTable( context ) -- make prop table
    -- create some keys with initial values
    properties.presetFolder = presetFolders[1]["value"] -- for radio buttons and pop-up menu
    properties.preset = presets[1]["value"]
    properties:addObserver( 'presetFolder', function( properties, key, newValue )
    myLogger:info("Observer - get preset list" )
    currentPresetFolder = properties.presetFolder
    presets = getPresets ( currentPresetFolder )
    myLogger:info(presets)
    myLogger:info("Observer - Preset table: " .. inspect ( presets ) )
    --     Set the new value
    properties.preset = presets[1]["value"]
    myLogger:info("Observer: " .. presets[1]["title"] )
    end )
    --     myLogger:info("presetFolder = " .. properties.presetFolder )
    --     myLogger:info("preset = " .. properties.preset )
    local contents = f:column { -- create view hierarchy
    fill_horizontal = 1,
    spacing = f:control_spacing(),
    bind_to_object = properties, -- default bound table is the one we made
    f:group_box {
    title = "Preset folders",
    fill_horizontal = 1,
    spacing = f:control_spacing(),
    f:popup_menu {
    value = bind 'presetFolder', -- current value bound to same key as static text
    items = presetFolders
    f:static_text {
    fill_horizontal = 1,
    title = bind 'presetFolder', -- bound to same key as current selection
    f:group_box {
    title = "Presets",
    fill_horizontal = 1,
    spacing = f:control_spacing(),
    f:popup_menu {
    value = bind 'preset', -- current value bound to same key as static text
    items = presets
    --     items = getPresets ( currentPresetFolder )
    f:static_text {
    fill_horizontal = 1,
    title = bind 'preset', -- bound to same key as current selection
    local result = LrDialogs.presentModalDialog( -- invoke the dialog
    title = "Select preset",
    contents = contents,
    end
    end
    -- Now display the dialogs
    ChoosePreset()

    That should work because you are likely to be creating a new table each time computeNewItems() executes..
    Sometime the bind function doesn't recognise whether the contents of a table bound to a property changes. So if you use something like this:
    local myItems = computeNewItems() -- compute array of tables with title and value members
    properties['myPresetItems'] = myItems --  assign to bound member of property table.
    it will work the first time. If you then do this:
    myItems = computeNewItems() -- compute array of tables with title and value members but using existing variable
    properties['myPresetItems'] = myItems --  assign to bound member of property table. Change might not be noticed by bind.
    In this instance you would need to reassign the same value again. i.e.
    properties['myPresetItems'] = myItems --  assign to bound member of property table again to force bind to check for table values.
    Setting a property with the same value twice seems to trick bind into checking to see whether you have bound a table. I'm not sure whether this trick is only required on some versions of LR (e.g. LR 2) or only on one of the platforms, but even if it isn't required in LR 5 it will help improve your backwards compatibility and it shouldn't cause any harm to continue using it in LR 5.
    Matt

  • Need help with multiple links in one Flash file

    Hi, I have to do a banner which is basically 4 different
    slides that fade up and down, but the client wants each slide to
    link to a different place when the user clicks on it. I know how to
    create an invisible button to link the whole ad, but how would I
    link each slide? Thanks in advance!

    Am I getting no replies because this can't be done in Flash?
    Is there a better way to do it? Actionscripts perhaps?
    BTW, I'll have no access to the html page that the client
    will be putting the swf file on so I wouldn't be able to put any
    code around the file for linking, like if I did a bunch of jpg's
    and found a script on the web somewhere that would fade them up and
    down and link them. They want the linking built right into the swf,
    is this even possible? Thanks in advance!

  • I need help as quickly as possible

    I have updated my Nokia C3-00 software to v 8.63 and now I can't use ovi Chat. Can someone help me with my problem please.
    Sorry for my bad English.

    1. Do a tour of the software. http://www.apple.com/finalcutstudio/quicktours/?quicktours/editing/qtfcp_1_dynamicrt
    2. The only version that works w/ the MBP is Final Cut 5.1 and FCE 3.5
    3. This question makes no sense. One would originally assume you're asking this question so that you can edit a 30+ min. project but your statement is conflicting in regards to your intentions and the fact that you mention the MBP's limitations. Isn't that the reason you're asking about external drives in the first place??? But FWIW one hour of DV-NTSC material is equal to approx. 13 gigs. - you want to set the scratch disk to a disk other than your start-up disk - and I would go w/ the fastest conncetion you can (FW 800/400)
    Also search/research are your two best friends with Final Cut.
    Good luck!

Maybe you are looking for

  • How do I merge contacts rather than replace them during sync conflicts?

    I just got my iPhone 4 a few days ago, and the Verizon sales associate transferred the contacts from my previous phone. Now, when attempting to sync via iTunes 10.4 (80), I'm given only three options after a sync conflict notification regarding conta

  • Table for Customer and Vendor Special GL Carryforward Balances

    Hi, What is the table to get the customer and vendor special GL carryforward balances? Thanks in advance

  • Web access doesn't work for AP1231

    When I set up a username with privilege level 15 the web prompt just keeps blinking back at me. I can log on via telnet with no issues using the username and it puts me right into enable mode without the enable password. This problem happens with jus

  • Rman incremental backup

    Hi, we are using oracle10g(10.2.0.3). is it possible to apply rman incremental backup on top of manual full backup? Note:There is no level 0 backup available Thanks With Regards Umair

  • Getting started with WEB reporting

    HI, I am working on SAP 4.7 version. I have released my reports through transaction SMW0. Please let me knwo now how do i view and run my reports on web?..... also what URL to type in the adress bar to view the same.... Kindl help... its urgent!