Design-Time Data with external url linking

I have a data list here:
http://facetmedia.com/new/
In the portfolio section I would like to make links which are clickable for the portfolio items. I now know how to use Flex Builder to make external URL links for regular buttons. What I don't know is how to edit this data list to create external links. Any help would be appreciated.

Hi trancepriest,
First, if you haven't already, you probably want to read some of the other posts here about creating a URL link button.  Once you've tried doing that and feel comfortable setting up a simple URL link in a test project, then you can move on to integrating this functionality into your list.
Now -- the rest depends on how the data is represented in your list.  From some of your other posts here, it actually sounds like you're no longer using a list at all, but rather just a tall layout of hardcoded items set inside a scrolling viewport.  If this is the case, you can just repeat the simple button creation you did above, placing all the buttons in the appropriate places in your tall layout (on top of / next to each distinct "item" in the layout).
If you're still using a Data List with a Repeated Item, then the initial setup will be a little bit more tricky, but it will save you time in the long run since you only have to set up one button (which will then be repeated for each item).  Here's how:
Find the "dataProvider" tag in the code.
Inside that will be a series of "Object" tags listing your current list data.  Add a new "url" attribute to each tag, e.g. url="http://www.adobe.com".
Edit the Repeated Item's definition (in the source code, find the itemRenderer attribute on the List tag and ctrl+click it).
Create your URL link button inside there. But -- instead of typing in the URL as a string in quotes (as seen in other examples in this forum), use data.url to refer to the url attribute you added in step 2.
Hope that helps!
- Peter

Similar Messages

  • How to add external URL link to SAP object (Purchase Order, Invoice, etc)

    Hello,
    Is there any function module /BAPI that allows me to add an external URL link to a existing Purchase Order
    or Invoice document in R3 system?
    I tried to debug the system but have not found no suitable function module for it.
    I also analyzed the ABAP code of the small GUI window that allows to add a external URL link to
    a Purchase Order, and found the function module SO_OBJECT_INSERT. However I could not debug
    it (seems to be created with BOR objects) so I've no example for it.
    Please help!
    Regards,
    Manuel Dias

    CONSTANTS:
        c_http(36)    TYPE c VALUE '/BpHttpApis/slaphapi?ibmperson/(uid=',
        c_listxml(12) TYPE c VALUE ').list/byxml',
        c_value(5)    TYPE c VALUE 'value',
        c_cn(2)       TYPE c VALUE 'cn',
        c_mail(4)     TYPE c VALUE 'mail',
        c_em_num(19)  TYPE c VALUE 'managerserialnumber',
        c_em_cou(18)  TYPE c VALUE 'managercountrycode'.
      DATA  client          TYPE REF TO if_http_client.
      DATA  url             TYPE string.
      DATA  xbuffer         TYPE xstring.
      DATA  l_value         TYPE zchar2000.
      DATA  l_value_string  TYPE string.
      DATA  content         TYPE string .
      DATA  rows            TYPE STANDARD TABLE OF string.
      DATA  wa_rows         TYPE string .
      DATA  conv            TYPE REF TO cl_abap_conv_in_ce.
      DATA  ixml            TYPE REF TO if_ixml.
      DATA  streamfactory   TYPE REF TO if_ixml_stream_factory.
      DATA  parser          TYPE REF TO if_ixml_parser.
      DATA  istream         TYPE REF TO if_ixml_istream.
      DATA  document        TYPE REF TO if_ixml_document.
      DATA  node            TYPE REF TO if_ixml_node.
      DATA  xmldata         TYPE string.
      DATA  iterator        TYPE REF TO if_ixml_node_iterator.
      DATA  nodemap         TYPE REF TO if_ixml_named_node_map.
      DATA  attr            TYPE REF TO if_ixml_node.
      DATA  name            TYPE string.
      DATA  prefix          TYPE string.
      DATA  value           TYPE string.
      DATA  indent          TYPE i.
      DATA  count           TYPE i.
      DATA  index           TYPE i.
      url = 'http://bluepages.ibm.com'.
      CLEAR: l_value_string, l_value.
    ***Create the HTTP client
      CALL METHOD cl_http_client=>create_by_url
        EXPORTING
          url    = url
        IMPORTING
          client = client
        EXCEPTIONS
          OTHERS = 1.
      IF sy-subrc <> 0.
    Create the HTTP client failure, sy-subrc =
        MESSAGE i005(zm) WITH text-026 sy-subrc.
        EXIT.
      ENDIF.
      CONCATENATE c_http
                  p_accnt
                  p_couty
                  c_listxml
                  INTO l_value.
      l_value_string = l_value.
    ***Get employee information
      CALL METHOD client->request->set_header_field
        EXPORTING
          name  = '~request_uri'
          value = l_value_string.
      client->send( ).
      client->receive( ).
    ***Load to xstring
      CLEAR xbuffer .
      xbuffer = client->response->get_data( ).
      conv = cl_abap_conv_in_ce=>create( input = xbuffer ).
      conv->read( IMPORTING data = content ).
    create the ixml main factory
      ixml = cl_ixml=>create( ).
    create a stream factory
      streamfactory = ixml->create_stream_factory( ).
      xmldata = content.
    create a input stream
      istream  = streamfactory->create_istream_string( string = xmldata )
    create a ixml document
      document = ixml->create_document( ).
    create a xml parser
      parser  = ixml->create_parser( document       = document
                                     stream_factory = streamfactory
                                     istream        = istream ).
    parse the xml document into DOM tree
      IF parser->parse( ) <> 0.
    parse the xml document into DOM tree failure
        MESSAGE i005(zm) WITH text-027.
        EXIT.
      ELSE.
        node ?= document.
        IF node IS INITIAL.
    To be done
        ENDIF.
    create a node iterator
        iterator  = node->create_iterator( ).
    get current node
        node = iterator->get_next( ).
    loop over all nodes
        WHILE NOT node IS INITIAL.
          indent = node->get_height( ) * 2.
          indent = indent + 20.
          CASE node->get_type( ).
            WHEN if_ixml_node=>co_node_element.
          element node
              name    = node->get_name( ).
              nodemap = node->get_attributes( ).
              IF NOT nodemap IS INITIAL.
            attributes
                count = nodemap->get_length( ).
                DO count TIMES.
                  index  = sy-index - 1.
                  attr   = nodemap->get_item( index ).
                  name   = attr->get_name( ).
                  prefix = attr->get_namespace_prefix( ).
                  value  = attr->get_value( ).
                ENDDO.
              ENDIF.
            WHEN if_ixml_node=>co_node_text.
    User name
              IF name  = c_value AND
                 value = c_cn.
          text node
                value  = node->get_value( ).
                p_name = value.
              ENDIF.
    User email
              IF name  = c_value AND
                 value = c_mail.
          text node
                value  = node->get_value( ).
                p_email = value.
              ENDIF.
    Employ serial number
              IF name  = c_value AND
                 value = c_em_num.
          text node
                value  = node->get_value( ).
                p_em_num = value.
              ENDIF.
    Employ country code
              IF name = c_value AND
                 value = c_em_cou.
          text node
                value  = node->get_value( ).
                p_em_cou = value.
              ENDIF.
          ENDCASE.
      advance to next node
          node = iterator->get_next( ).
        ENDWHILE.
      ENDIF.

  • Design-Time Data

    I am working on my first project in flash catalyst and have run in to problems with the data list I am creating.  I have made the data list but my data list componets do not show up in the design-time data window. Has anyone else ran into this problem or knows how to fix it?

    I read, your article titled Creating a comboBox in Flash Catalyst Beta 2 and thought I had gone through the steps correctly. I will run through the tutorial again and make sure that I did it correctly.

  • If i associate my apple id with another email will i lose my icloud data or i will still be able to access all my stored data with the new linked to my apple id email address?

    hi there
    if i associate my apple id with another email will i lose my icloud data or i will still be able to access all my stored data with the new linked to my apple id email address?
    i mean i am not signing up for a new account, just changing my old id primary email which is my apple id login into account.
    in other words, www.icloud.com will recognize that it is still me if i login on the site? will i be able to see there all my stored information?
    and if i change my password, does it automatically changes the @icloud.com password which should be the same as my apple id pass?
    thanks

    After opening the email it shoud of had you enter the Apple ID and password. Using certian web browser's can cause errors. You can adjust securty settings (big pain) or you use another browser. Using Firefox or Safari should do the trick.
    Let me know if using Firefox or Safari resolved it.

  • How to create an external url link with my pdf in acrobat pro

    I have no pb with adobe non pro to create an external web link which is connected to my pdf ( but internal link inside my pdf doesn't work ! ) , but I can't find in adobe pro, and further more I need  to have inside my pdf  another link  which must be connected to a web site
    Is there anyone to help a french guy ? Thanks to you

    Hi jeromemonange,
    Here is some information about creating hyperlinks in a PDF, both to external sources, such as a website, or to another page within the PDF: http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7cb7.w .html
    Please let us know how it goes.
    Best,
    Sar

  • External URL link in Request header page

    Hi Experts,
    I know that with transaction launcher in solman we can connect to external URL in navigation area, but I want to publish the same link within the Request header page, as a URL. Any thoughts ?
    Thanks in advance.
    Jignesh

    Got it, by adding the below code in the GET_P_xxxx method of the attribute
    CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_sortable.        "This column is not sortable
          rv_value = 'false'.                                   "#EC NOTEXT
        WHEN if_bsp_wd_model_setter_getter=>fp_disable_filter.  "Disable filter
          rv_value = 'true'.                                    "#EC NOTEXT
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
    * -> field type: client click
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_link.
        WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
    * -> onClick
    ** Get the path name
    rv_value   = "'http://www.google.com'.
      ENDCASE.

  • Is it possible to create a shortcut for current time / date with iPhone native apps?

    is it possible to create a shortcut to insert the current time / date in a text such as a Note with iPhone (IOS 6) native apps (not a 3rd. party app)?
    By "shortcut" I mean a combination of characters, the same as under settings/general/keyboards/shortcuts.
    thanks.

    Code that does it is here:
    http://forum.java.sun.com/thread.jsp?forum=48&thread=453846&tstart=0&trange=15
    MOD

  • How to disable design time data binding?

    I am using Studio Creator IDE for the presentation layer and bringing the project into eclipse and from there moving on to creating daos,adding business objects etc.
    However, when re-importing my files from eclipse to the Studio Creator to make layout changes, on the design view, i keep getting all these SQL exceptions.
    Here's my current fix:
    For eg, if on a page i had a Data Table component, i comment out my dao methods that populate the cachedrowset for the table data provider and i add for eg:
    personRowSet.setDataSourceName("java:comp/env/jdbc/Travel");
    personRowSet.setCommand("SELECT * FROM TRAVEL.PERSON");
    personRowSet.setTableName("PERSON");
    and only then, i am able to see my table component in the design view.
    Is there an option somewhere to tell the IDE not to check data bindings at design time???
    That would be very very helpful.
    Thanks!

    Hi,
    There is no option, ASAIK, to turn off the data bindings at design time. As you have mentioned the option that comes to my mind is to comment out the code for data binding till the design work is over.
    Cheers
    Girish

  • How can I change Time data with List Entry Screen ?

    Hi expert.
    I transfer Time Data (Infotype 2003) via CAT6.
    When I go to transaction PA61 and click List Entry icon.
    Record is display and cannot change data.
    If I wanna change data.I must to click Choose Icon one by one record.
    How can I change data with List Entry Screen?
    ps. If record create via PA61. I can change data with List Entry Screen.
    I can't change with record that create via CAT6.
    Best Regards.

    have u tried to change your time entry through CAT2 tcode, ithink if u have created profile for time entry then it should allow you to change and you can use esc otherwise, its generally the standard profile given by SAP. but is 4 one user
    hope this helps
    guds

  • Open modal window with extern URL?

    Hello,
    how can I open a modal window with a external url?
    e.g. I want to open Google, but WD Code should stop and the google window is in front of my portal until it is closed. Then WD code continues.
    WDPortalNavigation.navigateAbsolute(..) can't open a modal window, right? WD Source Code keeps running...
    Can I open a WD-Window with context from a external URL?
    I would be grateful for any help!
    Best regards
    Iris Deuring

    Hi,
    Create an action for a button and write this code in that.
    IWDWindow window =
          wdControllerAPI.getComponent().getWindowManager().createExternalWindow(
            "http://www.google.de",
            "Google - Search for an email address",
            false);
        window.open();
    Hope this help.
    Regards,
    Nagaraju Donikena.

  • Frustrated with external css link

    I had an external css link that was working in edge version 2014.0, then I upgraded to 2014.1 and edge will no longer link to the external css link that it would before. (The reason I have an external css is that I have some elements that I am adding thru javascript to the stage later so that I don't clutter up the stage - these elements added later were then styled with my external css but now it doesn't work). I was able to get the css to link before by manually adding the css in the edge_Preload.js:
      aLoader = [
          { load: "edge_includes/jquery-2.0.3.min.js"},
          { load: "edge_includes/edge.4.0.0.min.js"},
          { load: "js/rollarCoasterQuestionsMain.js", user: true },
          { load: "js/rollarCoasterQuestion1.js", user: true },
          { load: "js/rollarCoasterQuestion2.js", user: true },
          { load: "js/rollarCoasterQuestion3.js", user: true },
          { load: "js/rollarCoasterQuestion4.js", user: true },
      { load: "css/rollarCoasterQuestionsMain.css"},                 //this was the added line that worked before
          { load: "js/jquery.cookie.js", user: true },
          { load: "rollarCoasterR1_edge.js"},
          { load: "rollarCoasterR1_edgeActions.js"}];
    It no longer works allowing me to add the external stylesheet this way... so I'm looking for a new way but going through the forum I've found the following examples that I haven't gotten to work:
    Putting this in the stage code (technically is in the edgeActions.js file): sym.$("<link rel='stylesheet' type='text/css' href='css/rollarCoasterQuestionsMain.css'>").appendTo("#Stage");   //couldn't get this to work
    Then tried putting this in my external javascript file just to try it another way but it diddn't work either (in my js/rollarCoasterQuestionsMain.js file):
    $( "#Stage" ).append( "<link rel='stylesheet' type='text/css' href='../css/rollarCoasterQuestionsMain.css'>" );   // but this didn't work either
    Please help

    Actually in most of my Edge projects I'm using webfonts.
    When doing this I also add an external stylesheet like below. (Located in the library, fonts tab)
    Once done the stylesheet works too, without any other coding.
    I hope this helps.
    Kind regards,
    Lester.

  • How can we get current time date with resultset?

    Dear All,
    I have to insert current time date in the table.So,i need to get the current time and date with result set.So,I will first get the time date and then insert it into the table.
    I know how can we get current time and date without resultset.i have created this function its working.But now i want to use this.mean using resultset i want to put in the table.
    How can i do this?
    public static String DATE_FORMAT_NOW = "yyyy-MM-dd HH:mm:ss";
    public static String now() {
    Calendar cal = Calendar.getInstance();
    SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT_NOW);
    return sdf.format(cal.getTime());
    }

    yuck. Why not simply set a "new java.sql.Date()" to the SQL parameter in question?

  • When using time machine with external hardrive to backup, some music items from iTunes and some photos from iPhoto do not transfer to backup hardrive.  What am I ding wrong?  Using latest version of mountain lion.

    When I use time machine with my external harddrive to back up computer, some music from iTunes library, and some photos from iPhoto library are missing when I check backup disk.  I am using latest version of mountain lion.  Am I doing something wrong?

    First, Time Machine doesn't completely back up the iPhoto library while iPhoto is running. Make sure you quit iPhoto after making any changes to allow a backup to take place.
    This simple procedure will clear your Time Machine settings, including both overt and hidden exclusions. If you have a long exclusion list that can't be recreated easily, you may prefer a more complicated procedure that preserves the exclusion list. In that case, ask for instructions. Otherwise, do as follows.
    Triple-click the line below to select it:
    /Library/Preferences/com.apple.TimeMachine.plist
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu. A Finder window should open with a file selected. Copy it to the Desktop. Then move it (the original, not the copy) to the Trash. You'll be prompted for your administrator password. Reboot, recreate your settings in the Time Machine preference pane, and run a backup to test. If TM now performs as expected, delete the file you copied to the Desktop.

  • Send Mail with Long URL - Link getting split w/CR/LF in Email

    I am using a send mail step and including a long URL so that the user can
    access an Iview directly from the URL Link.  The URL which is about 250 characters long is getting split across multiple lines in the MS Outlook Email therby losing the link (only the first line underlined). I am loading the container element contianing the link from a standard text and appending the necessary IView parmater to the end. I tried enclosing my URL within an href but that did not work wither.  My current workaround is to code my own method
    which sends the email but would rather using the standard Send Mail Step.
    Any ideas will be greatly appreciated.

    Hi Bob
    There are some limitations  -  you could note 363986
    Regards
    Morten Nielsen

  • Time Machine with external HD

    Guys, I have a problem in my Time Machine.The external HD is not found, but the mac recognizes the HD, only the Time Machine is not.What is very strange is that until a few days ago before the backup was working properly at this Time Machine HD.
    I checked the disk using Disk Utility but not solved the problem. Can anyone help me?

    Try this Time Machine troubleshooting page http://pondini.org/TM/Troubleshooting.html

Maybe you are looking for