Setting source for image field

I'm still trying to find a way around my "watermark" issues. It doesn't have to be a watermark, per se. I just need to be able to put the picture on the form based on user submission. Here's what I've done, but it's not working as I expected. Perhaps someone can help?
The livecycle form has an image object. It also has a dropdown selection. Depending on what the user selects in the dropdown, I change the href of the image. Although the field accepts my input, it doesn't actually SHOW the image that I put referenced.
Another important point I've left out of my previous posts....
There is a great deal said about how it is easy to confuse changing the appearance of the document without changing the layout. Actually, this is exactly what I want to do. When I am totally done with everything, I intend to flatten the whole thing and save it as an unchangeable document. (This may require printing to a PDF print driver.) In other words, my application is not about the DATA in the form, but the LOOK of the form when it's filled out.
So, the question of the day is....
Given an image field, how do I programatically change the actual image it displays?

I believe this is one of the security restrictions in Acrobat. You can't redirect to an external source programatically. If you want the user to be able to switch pictures based on a listbox selection, you must embed each picture in the document. There is a sample that covers this technique on http://www.adobe.com/devnet/livecycle/designer_scripting_samples.html
the link is titled: "Display different images inside the same image field"
If you want to display an image that is not embedded, you are basically stuck with the "click-and-browse" functionality that is the default behaviour of an image field.

Similar Messages

  • Dynamic Sources for a field in Oracle Reports

    Hi there,
    I am sure someone might have encountered this problem.
    I have six Queries in Data Model. Based on certain parameter value, I need to change the source field setting for each field in the report
    output.
    e.g in Report LayOut Model, I have a field F_1. The source for this field in
    the Property pallette is COL1 which is coming from Query1.
    I need to assign a new source based on parameter value for field F_1 to
    COL2 from Query2 or COL3 from Query3 or COL4 from Query4, COL5 from Query5, COL6 from Query6 in the Before Report Trigger. Is there any way to achieve this using srw or any other PL/SQL code?
    This way I can save a lot of devlopment time and use a single physical layout for six different reports and avoid the hassles of creating frames,
    repeating frame and formatting.
    Any help greatly appreciated.
    Let me know if something is not clear in the email. I will provide
    additional information

    Ashok,
    Looks like you've landed in the wrong Forum - this one is for Oracle HTML DB.
    Thanks,
    - Scott -

  • To set HOTSPOT for a field in ALV-oops and when clecked should call transac

    Hi,
    I need to set HOTSPOT for a field in O/P list using ALV-oops and when clecked should take me to Transaction VA01. Please help....
    Thanks,
    Prabhu

    Hi,
         Please go through this code it may help u.
    REPORT zcls_alv_oops MESSAGE-ID z1.
    TABLES : mara.
    Types Declaration..\
    TYPES :
    BEGIN OF t_mara,
    matnr TYPE matnr,
    mtart TYPE mtart,
    maktx TYPE maktx,
    END OF t_mara,
    BEGIN OF t_marc,
    matnr TYPE matnr,
    werks TYPE werks_d,
    mtart TYPE mtart,
    maktx TYPE maktx,
    END OF t_marc.
    Internal Tables Declaration..\
    DATA :
    i_mara TYPE TABLE OF t_mara,
    i_marc TYPE TABLE OF t_marc,
    i_fcat1 TYPE lvc_t_fcat,
    i_fcat2 TYPE lvc_t_fcat.
    Constants Declaration..\
    CONSTANTS :
    c_cont1 TYPE scrfname VALUE 'CONT1',
    c_cont2 TYPE scrfname VALUE 'CONT2'.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    SELECT-OPTIONS:
    s_matnr FOR mara-matnr NO INTERVALS.
    SELECTION-SCREEN SKIP 1.
    PARAMETERS :
    p_hotspt RADIOBUTTON GROUP r1 DEFAULT 'X',
    p_bttn RADIOBUTTON GROUP r1.
    SELECTION-SCREEN END OF BLOCK b1.
    \* Class forward referncing.
    CLASS lcl_rcvr_class DEFINITION DEFERRED.
    \* Pointers Declaration..
    DATA :
    lp_rcvr TYPE REF TO lcl_rcvr_class,
    lp_cont1 TYPE REF TO cl_gui_custom_container,
    lp_cont2 TYPE REF TO cl_gui_custom_container,
    lp_grid1 TYPE REF TO cl_gui_alv_grid,
    lp_grid2 TYPE REF TO cl_gui_alv_grid.
    \* Local Class Definiton.
    CLASS lcl_rcvr_class DEFINITION.
    PUBLIC SECTION.
    METHODS :
    hotspot_click FOR EVENT hotspot_click OF cl_gui_alv_grid
    IMPORTING e_row_id e_column_id es_row_no,
    handle_double_click FOR EVENT double_click OF cl_gui_alv_grid
    IMPORTING e_row e_column.
    ENDCLASS.
    \* Local Class Implementation.
    CLASS lcl_rcvr_class IMPLEMENTATION.
    METHOD hotspot_click.
    DATA :
    wa_mara TYPE t_mara,
    wa_marc TYPE t_marc.
    DATA :
    l_index TYPE sy-tabix.
    READ TABLE i_mara INTO wa_mara INDEX e_row_id-index.
    IF sy-subrc EQ 0.
    REFRESH i_marc.
    SELECT matnr
    werks
    INTO TABLE i_marc
    FROM marc
    WHERE matnr EQ wa_mara-matnr.
    IF sy-subrc EQ 0.
    LOOP AT i_marc INTO wa_marc.
    l_index = sy-tabix.
    wa_marc-mtart = wa_mara-mtart.
    wa_marc-maktx = wa_mara-maktx.
    MODIFY i_marc FROM wa_marc INDEX l_index
    TRANSPORTING mtart maktx.
    ENDLOOP.
    CALL SCREEN 200.
    ELSE.
    MESSAGE e121 WITH text-005 wa_mara-matnr.
    ENDIF.
    ENDIF.
    ENDMETHOD.
    METHOD handle_double_click.
    DATA :
    wa_mara TYPE t_mara,
    wa_marc TYPE t_marc.
    DATA :
    l_index TYPE sy-tabix.
    READ TABLE i_mara INTO wa_mara INDEX e_row-index.
    IF sy-subrc EQ 0.
    REFRESH i_marc.
    SELECT matnr
    werks
    INTO TABLE i_marc
    FROM marc
    WHERE matnr EQ wa_mara-matnr.
    IF sy-subrc EQ 0.
    LOOP AT i_marc INTO wa_marc.
    l_index = sy-tabix.
    wa_marc-mtart = wa_mara-mtart.
    wa_marc-maktx = wa_mara-maktx.
    MODIFY i_marc FROM wa_marc INDEX l_index
    TRANSPORTING mtart maktx.
    ENDLOOP.
    CALL SCREEN 200.
    ELSE.
    MESSAGE e121 WITH text-005 wa_mara-matnr.
    ENDIF.
    ENDIF.
    ENDMETHOD.
    ENDCLASS.
    \* Start of Selection
    START-OF-SELECTION.
    \* Extract the Material Master data for the Input Material.
    SELECT a~matnr
    a~mtart
    b~maktx
    INTO TABLE i_mara
    FROM mara AS a
    INNER JOIN makt AS b
    ON a~matnr EQ b~matnr
    WHERE a~matnr IN s_matnr
    AND b~spras EQ sy-langu.
    END-OF-SELECTION.
    IF NOT i_mara\[\] IS INITIAL.
    \* Call Screen to display the Material Master data.
    CALL SCREEN 100.
    ELSE.
    MESSAGE s121 WITH text-006.
    ENDIF.
    \*& Module DISP_GRID OUTPUT
    \* text
    MODULE disp_grid OUTPUT.
    \* Build the Field catelog for Material Master data.
    PERFORM build_fcat.
    \* Display the Material Master data using ALV.
    PERFORM disp_alv.
    ENDMODULE. " DISP_GRID OUTPUT
    \*& Module USER_COMMAND_0100 INPUT
    \* text
    MODULE user_command_0100 INPUT.
    \*when exit or cancel is clicked program has to come out
    CASE sy-ucomm.
    WHEN 'EXIT' OR 'CANC'.
    LEAVE PROGRAM.
    WHEN 'BACK'.
    LEAVE TO SCREEN 0.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_0100 INPUT
    \*& Form build_fcat
    \* text
    \* \--> p1 text
    \* <-\- p2 text
    FORM build_fcat.
    DATA : ws_fcat TYPE lvc_s_fcat.
    ws_fcat-fieldname = 'MATNR'.
    ws_fcat-scrtext_m = text-001.
    ws_fcat-tabname = 'I_MARA'.
    IF p_hotspt EQ 'X'.
    ws_fcat-hotspot = 'X'.
    ENDIF.
    APPEND ws_fcat TO i_fcat1.
    CLEAR ws_fcat.
    ws_fcat-fieldname = 'MTART'.
    ws_fcat-scrtext_m = text-002.
    ws_fcat-tabname = 'I_MARA'.
    APPEND ws_fcat TO i_fcat1.
    CLEAR ws_fcat.
    ws_fcat-fieldname = 'MAKTX'.
    ws_fcat-scrtext_m = text-003.
    ws_fcat-tabname = 'I_MARA'.
    APPEND ws_fcat TO i_fcat1.
    CLEAR ws_fcat.
    ENDFORM. " build_fcat
    \*& Form disp_alv
    \* text
    \* \--> p1 text
    \* <-\- p2 text
    FORM disp_alv.
    IF lp_cont1 IS INITIAL.
    \* Create the Container Object of Material Master.
    CREATE OBJECT lp_cont1
    EXPORTING
    container_name = c_cont1
    EXCEPTIONS
    cntl_error = 1
    cntl_system_error = 2
    create_error = 3
    lifetime_error = 4
    lifetime_dynpro_dynpro_link = 5
    others = 6 .
    IF sy-subrc NE 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ELSE.
    \* Create the Object for Grid of Material Master.
    CREATE OBJECT lp_grid1
    EXPORTING
    i_parent = lp_cont1
    EXCEPTIONS
    error_cntl_create = 1
    error_cntl_init = 2
    error_cntl_link = 3
    error_dp_create = 4
    others = 5.
    IF sy-subrc NE 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ELSE.
    \* Dipslay Material Master data by calling method.
    CALL METHOD lp_grid1->set_table_for_first_display
    CHANGING
    it_outtab = i_mara
    it_fieldcatalog = i_fcat1
    EXCEPTIONS
    invalid_parameter_combination = 1
    program_error = 2
    too_many_lines = 3
    OTHERS = 4.
    IF sy-subrc NE 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ELSE.
    \* Set Handler for the Hot Spot Event.
    CREATE OBJECT lp_rcvr.
    IF p_hotspt EQ 'X'.
    SET HANDLER lp_rcvr->hotspot_click FOR lp_grid1.
    ELSE.
    SET HANDLER lp_rcvr->handle_double_click FOR lp_grid1.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDFORM. " disp_alv
    \*& Module STATUS_0100 OUTPUT
    \* text
    MODULE status_0100 OUTPUT.
    SET PF-STATUS 'MAIN_STAT'.
    SET TITLEBAR 'T_100'.
    ENDMODULE. " STATUS_0100 OUTPUT
    \*& Module STATUS_0200 OUTPUT
    \* text
    MODULE status_0200 OUTPUT.
    SET PF-STATUS 'PLANT_STAT'.
    SET TITLEBAR 'T_200'.
    ENDMODULE. " STATUS_0200 OUTPUT
    \*& Module DISP_GRID_plant OUTPUT
    \* text
    MODULE disp_grid_plant OUTPUT.
    \* Build the Field catelog for Material Plant data.
    PERFORM build_fcat_plant.
    \* Display the Material Master Plant data using ALV.
    PERFORM disp_alv_plant.
    ENDMODULE. " DISP_GRID_plant OUTPUT
    \*& Module USER_COMMAND_0200 INPUT
    \* text
    MODULE user_command_0200 INPUT.
    \*when exit or cancel is clicked program has to come out
    CASE sy-ucomm.
    WHEN 'EXIT' OR 'CANC'.
    LEAVE PROGRAM.
    WHEN 'BACK'.
    LEAVE TO SCREEN 0.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_0200 INPUT
    \*& Form build_fcat_plant
    \* text
    \* \--> p1 text
    \* <-\- p2 text
    FORM build_fcat_plant.
    DATA : ws_fcat TYPE lvc_s_fcat.
    ws_fcat-fieldname = 'MATNR'.
    ws_fcat-scrtext_m = text-001.
    ws_fcat-tabname = 'I_MARC'.
    APPEND ws_fcat TO i_fcat2.
    CLEAR ws_fcat.
    ws_fcat-fieldname = 'WERKS'.
    ws_fcat-scrtext_m = text-004.
    ws_fcat-tabname = 'I_MARC'.
    APPEND ws_fcat TO i_fcat2.
    CLEAR ws_fcat.
    ws_fcat-fieldname = 'MTART'.
    ws_fcat-scrtext_m = text-002.
    ws_fcat-tabname = 'I_MARC'.
    APPEND ws_fcat TO i_fcat2.
    CLEAR ws_fcat.
    ws_fcat-fieldname = 'MAKTX'.
    ws_fcat-scrtext_m = text-003.
    ws_fcat-tabname = 'I_MARC'.
    APPEND ws_fcat TO i_fcat2.
    CLEAR ws_fcat.
    ENDFORM. " build_fcat_plant
    \*& Form disp_alv_plant
    \* text
    \* \--> p1 text
    \* <-\- p2 text
    FORM disp_alv_plant.
    IF lp_cont2 IS INITIAL.
    \* Create the Container Object of Material Plant data.
    CREATE OBJECT lp_cont2
    EXPORTING
    container_name = c_cont2
    EXCEPTIONS
    cntl_error = 1
    cntl_system_error = 2
    create_error = 3
    lifetime_error = 4
    lifetime_dynpro_dynpro_link = 5
    others = 6.
    IF sy-subrc NE 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ELSE.
    \* Create the Object for Grid of Material Plant data.
    CREATE OBJECT lp_grid2
    EXPORTING
    i_parent = lp_cont2
    EXCEPTIONS
    error_cntl_create = 1
    error_cntl_init = 2
    error_cntl_link = 3
    error_dp_create = 4
    others = 5.
    IF sy-subrc NE 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ELSE.
    \* Dipslay Material Plant data by calling method.
    CALL METHOD lp_grid2->set_table_for_first_display
    CHANGING
    it_outtab = i_marc
    it_fieldcatalog = i_fcat2
    EXCEPTIONS
    invalid_parameter_combination = 1
    program_error = 2
    too_many_lines = 3
    OTHERS = 4.
    IF sy-subrc NE 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDIF.
    ENDIF.
    ELSE.
    \* Call method 'REFRESH_TABLE_DISPLAY' to refresh the grid data.
    CALL METHOD lp_grid2->refresh_table_display.
    ENDIF.
    ENDFORM. " disp_alv_plant

  • SB Audigy 2ZS Plarinum Pro: setting source for recording

    Hello!
    I am having problems setting the source for recording. I want to set the recording source from 'Wave' (default) to 'Line-In /Mic'. After doing so with the mixer or the MediaSource Player it resets to 'Wave' after some time. Why? Can I force the software to make 'Line-In /Mic' the default setting? It really dri'ves me nuts to see that the source has changed without me being notified. I want to have the source changed only by myself and not by some cozmic radiation, God's will, voodoo magic and whatnot.
    Greetings
    ClustalW

    <Re: SB Audigy 2ZS Plarinum Pro: setting source for recording? Okay ClustalW, I understand the "Default" problem you are having. So can you go to control panel, and sound and there look at your recording devices and tell me what do you see? If your desired device is there, you can choose it as the default and then throughout the rest of windows, this will be THE global default recording device or the first choice, when you are in other programs to record from. Also, make sure your device is plugged in when making this change. On my system with that board, a few years ago, I could make the choice, but it would always pick something else when the source was unplugged. For example, if I were using the front bay inputs as recording, when I would unplug them and reboot, my system picked the next thing as default.
    Next go into to your Creative Control panel and do the same thing there. Theoretically your choices should be linked, but this is not always the result. I can choose mine in Vista and windows 7, but lastly I always go to the Creative mixer applet and do it there and that works best. For me, my default is my front panel Mic or Microphone FP but as soon as I unplug it, it wants to make my back mic jack the default.

  • Text data source for the field Position(PLANS)

    Hi Experts,
    I have an infoobject ZPOSITION which i am using in a cube for this i can able to display key values but i want to display text for this ZPOSITION. The source for this field is Position(PLANS) which i have tacken from pa0001 table.
    I have an another infoobject 0HRPOSITION for this i have already loaded data using data source 0HRPOSITION_TEXT.
    Is there any other text datasources for this field Position(PLANS)?
    And
    Is it possible to load data from one info object to another info object?
    Regards,
    Sridhar.K

    Hi Sridhar,
    Check out in the infotype PA0001 for the check table for this field. In this table you will have the description for the field PLANS (Position).
    I request you to catch hold of functional HR team member to know where the text value for the Position (PLANS) is stored. You can get the info from them immeadiatly.
    After knowing the table where the text values for Position (PLANS) are stored, you have to create a text datasource using RSO2 transaction and replicate in BW and load data from the R/3 table.
    Hope this helps you.
    Regards,
    Saravanan.

  • Data Source for DAR01 field in HR.

    Hi Guys,
    I have the following fields in HR area PA. First three fields are for D.O.J. group and last field is for Date type from table PA0041. I didn't find any info object and data source for these fields in BI. Can any one help me out for finding standard data source. 
    1. DAR01
    2. DAR02
    3. DAR03
    4. DAT01
    Thanks
    Chintu

    Hi,
    Check the table RSOSFIELDMAPSH in the BW side, this should be helpful for you.
    Thanks,
    Arminder

  • Set value for textarea field in tabular report

    Hi all,
    I need some help setting textarea values in a tabular report. The tabular report is for users to be able to build their own ad hoc report, by specifying which columns should be included and filtered. Here are the example tables:
    -- Table that holds all of the data for the report.
    create table vehicle (
      make varchar2(50),
      model varchar2(50),
      type varchar2(50),
      year number);
    insert into vehicle values ('Toyota','Camry','Sedan','2008');
    insert into vehicle values ('Toyota','4Runner','SUV','2008');
    insert into vehicle values ('Honda','Civic','Compact','2011');
    insert into vehicle values ('Honda','Accord','Sedan','2010');
    insert into vehicle values ('Ford','F150','Truck','2011');
    -- Table that holds the columns that are available to be filtered in report.
    create table vehicle_cols (
      col_id varchar2(50),
      col_label varchar2(50));
    insert into vehicle_cols values ('make','Vehicle Make');
    insert into vehicle_cols values ('model','Vehicle Model');
    insert into vehicle_cols values ('type','Vehicle Type');
    insert into vehicle_cols values ('year','Vehicle Year');
    -- Table that holds filters saved by user.
    create table vehicle_user_saved (
      saved_rpt_name varchar2(50),
      col_id varchar2(50),
      col_value varchar2(50));
    insert into vehicle_user_saved values ('Saved Report One','make','Toyota');
    insert into vehicle_user_saved values ('Saved Report One','make','Honda');
    insert into vehicle_user_saved values ('Saved Report One','model','Sedan');
    insert into vehicle_user_saved values ('Saved Report Two','make','Honda');
    insert into vehicle_user_saved values ('Saved Report Two','year',2010);And below is the source query for the region. The textarea value is initially set to null.
    -- Region Source for specifying query parameters.
    select
      col_label,
      apex_item.checkbox(1,'#ROWNUM#','CHECKED') as include_cols,
      apex_item.hidden(2,col_id)
      || apex_item.textarea(3,null,2,100) as filter_cols
    from
      vehicle_cols;When a user clicks the button to load the parameters for a report they have previously saved, I'd like to change the values in the textarea field from null to the saved values from the vehicle_user_saved table so the user can see the parameters and run the report, or modify the parameters if necessary.
    I thought I could run a PL/SQL process (After Footer) when the button is clicked to populate these textarea fields, but the test below doesn't do anything:
    begin
      apex_application.g_f03(1) := 'Hello';
    end;For example, when a user selects to load "Saved Report One," the following parameters should be loaded into the textarea fields:
    Column >> Filtered Columns
    Vehicle Make >> Honda, Toyota
    Vehicle Model >> Sedan
    Vehicle Year >> Null
    Vehicle Type >> NullCan someone help me out? I wouldn't think I need Ajax for this since it's ok to be processed after the button click. But if I do need to use Ajax, I definitely could use some help with it, as I've never used Ajax before. I've setup this example in my hosted account to help.
    Site: http://apex.oracle.com
    Workspace: MYHOSTACCT
    Username: DEVUSER1
    Password: MYDEVACCT
    Application: report parameters
    Thanks in advance!
    Mark
    APEX 4.1, Oracle 11g

    Hi, thanks for your response.
    I'm not adding any new rows, I'm just trying to change the values of the textarea fields in the tabular report when the user chooses to load his/her saved parameters. The default for the textarea field in all rows is null, because I assume users will want to start building the report from scratch. However, when the user clicks the button to load his/her saved values, I want to overwrite the null values with new values. How can I do that?
    Thanks,
    Mark

  • Set Metadata for custom fields on Supplier (BUPA)

    Hi,
    I have to add a new field to BASIC DATA view of Supplier. I have appended the field in the required structures. Now, I need to set the properties of field to make it as visible and enable.
    How can we set these properties? Is it through implementing Implicit Enhancement points in method, /SAPSRM/IF_PDO_META_CONSUMER~GET_FIELD_METADATA of class, /SAPSRM/CL_PDO_META_MO_SUPP or is there any other way to set metada instead of using enhancement spot? Kindly guide me.
    Thanks,
    Phani

    Typical, I spent 2 hours trying to find it and could not, so I posted this thread, then I found the answer straight after.
    You need to assign screen 1215 in SPRO, not 700.
    Thanks any way for reading my post!
    Regards,
    Dave.

  • Set Source of Image using StorageFile using FilePicker

    I am developing an app in which I have called a filePicker and then the image is set as source of userImage. I am getting image through filepicker but it is not setting as source of userImage. My code is
    private void pickPhoto_Tapped(object sender, TappedRoutedEventArgs e)
                MyPictureImage = true;
                FileOpenPicker photochooser = new FileOpenPicker();
                photochooser.ViewMode = PickerViewMode.Thumbnail;
                photochooser.SuggestedStartLocation = PickerLocationId.PicturesLibrary;
                photochooser.FileTypeFilter.Add(".jpg");
                photochooser.FileTypeFilter.Add(".jpeg");
                photochooser.FileTypeFilter.Add(".png");
                //Launch file open picker and caller app is suspended and may be terminated if required
                photochooser.PickSingleFileAndContinue();            
            public async void ContinueFileOpenPicker(FileOpenPickerContinuationEventArgs args)
                var values = args.ContinuationData;
                if (args.Files.Count > 0)
                    StorageFile sf = args.Files[0];
                    ImageEncodingProperties format = ImageEncodingProperties.CreateJpeg();
                    StorageFile Image = await ApplicationData.Current.LocalFolder.CreateFileAsync(sf.Name, CreationCollisionOption.ReplaceExisting);
                    StorageFile sfa = await ApplicationData.Current.LocalFolder.GetFileAsync(sf.Name);
                    UploadImage(sf);
    try
                        StorageItemThumbnail thumb = await file.GetThumbnailAsync(ThumbnailMode.PicturesView, 250, ThumbnailOptions.UseCurrentScale);
                        userImage.Source = await ImageFromStorageItemAsync(thumb);
                    catch (Exception ex)
    private async static Task<BitmapImage> ImageFromStorageItemAsync(StorageItemThumbnail item)
                BitmapImage image = new BitmapImage();
                await image.SetSourceAsync(item);
                return image;
    Can anybody Help?

    Your code looks good and I wasn't able to reproduce the issue.
    You need to look in your "App.xaml.cs" page and make sure you have modified the "OnActivated" event to be able to navigate to the ContinueFileOpenPicker method.
    protected override void OnActivated(IActivatedEventArgs args)
    var root = Window.Current.Content as Frame;
    var mainPage = root.Content as MainPage;
    if (mainPage != null && args is FileOpenPickerContinuationEventArgs)
    mainPage.ContinueFileOpenPicker(args as FileOpenPickerContinuationEventArgs);
    Let me know if this helps.
    Abdulwahab Suleiman

  • Find source for images & movies in Keynote

    If one has a Keynote presentation, and wants to get a copy of the actual image or movie used in a slide, is there an easy way to figure this out?
    Specifically, the images and movies are all kept in the Keynote package and can be perused with a right click and show package. However, if there are lots and lots of images in a Keynote presentation, it may take a long time to manually go through each of the images and movies to see which matches what one sees on the Keynote slide. Can one get information from the slide easily about the name of the image or movie that was used to make it?
    Thanks!

    There are two ways that I can think of to do this. The best would be to have the two different videos on two different slides. Then you can use a disappear transition from one to the other and have the videos play automatically after transition.
    The other option, if you need to keep them all on one slide is to put the two movies in. Set the first one to automatically play after transition. Then add an action of Opacity and set to 0%. Then have the second movie start to play after the Opacity Action.
    I should add, that I have not tested this, but I think that it should work.

  • Setting filenames for images sequences via scripting

    Is there a good way to set the output filename for a sequence via scriping? When I explicitly set the filename and render location, the frame number is being appended to the end of the extension. (example: "filename.png002").

    Did a quick test.
    You can set name the way you want "Comp 1-[#].jpg" - I mean if you add [#] by hand, AE seems to respect that.
    So I guess you could check how many frames you are going to render and set appropriate amount of # signs in the file name.
    Looking at your example, seems that AE ads frame number after the extension. In case you want to control where AE puts those frame numbers, try this "filename-[#].png" - that should do the trick.

  • Can't use compiler constant to set source for embed tag in ASC2.0

    Hi.
    I'm poring an application to ASC2.0. The code I'm talking about is being compiled as a flash movie, but I'm sure it applies to AIR also.
    So we have some code like this:
    class Test
      [Embed(source=CONFIG::FILE,mimeType="application/octet-stream")]
      private var TextClass:Class;
      public function test():String
        var ba:ByteArray = new TextClass();
        var str:String = ba.readUTFBytes(ba.length);
        return str;
    CONFIG::FILE is set as compiler options like this
        <define append="true">
          <name>CONFIG::FILE</name>
          <value>'../../../../TEXT.txt'</value>
        </define>
    This code compiles, but at runtime, the TextClass is null. If I replace the embed line with this, it works.
    [Embed(source="../../../../TEXT.txt",mimeType="application/octet-stream")]
    If I change the source string location, compilation fails. If I change the content of the compile constant, it does not fail, regardless if it points to a correct location or not.
    Seems like another ASC2.0 bug. I suggest to open a forum that deals with ASC2.0 specifically.

    OK. I know why. Its because although i create the version entity before i called the SQL. the new version entity hasn't been stored in the database, its still in the container. My colleague and me checked this by setting up a timestamp in the Version table and compared it with the time in the log. when i called SQL, the entry hasn't been created!

  • Setting 'source' of Image component programmatically

    How do you change the source of an mx:Image component
    programmatically in ActionScript?
    I have an image like this:
    <mx:Image id="myImage"
    source="@Embed(source='image1.png')" />
    Then I want to change this in my actionscript to image2.png.
    Why does not the following code work?
    myImage.source = "@Embed(source='image1.png')";
    The image won't load, it just displays a small square icon. I
    am sure that the path is correct because it works when I use the
    Embed statement in the component declaration.
    I appreciate your help!

    The line:
    <mx:Image id="myImage"
    source="@Embed(source='image1.png')" />
    embeds the image into your SWF file at compile time. To
    change the source at run time, you'll try something like:
    myImage.source = "images/image1.png";
    Where images is your folder on the root of web application
    context you're in and image1.png is the image to be loaded.
    Here is from image class help from docs:
    The URL, object, class or string name of a class to load as
    the content. The source property takes the following form:
    source="URLOrPathOrClass"
    source="@Embed(source='PathOrClass')"
    ATTA

  • Rules for posting key 21 and acct ### set incorrectly for "OIEXGNUM" field

    Does anyone know how to resolve this error?  I am trying to post a vendor credit memo in FB65 for testing purposes.

    FIRST CHECK THE POSTING KEY 21 FIELD STATUS AND ACCOUNT FSG
    MAY BE THAT FIELD MAINTAIN DIFFRENTLY(LIKE ONE IS SUPRESSED AND IN OTHER REQUIRED)

  • Data source for tax field in purchase order

    hi,
       can anybody tell me whats  the datasource of the tax details that appear in the invoice tab of tcode ME23N.

    Hi Mani,
    Try for table KONP-Conditions (Item) with respect to KNUMH(Condition record number) & KOPOS (Sequential number of the condition) numbers you get from the PO.
    Or you can go for KONV-Conditions (Transaction Data) table also.
    Check it.
    -Maharshi
    Edited by: Maharshi Vyas on Dec 16, 2008 1:42 PM

Maybe you are looking for

  • Links to Word template from Reader X

    I have setup pdf document with links to Microsoft Word templates. They were working correctly in Reader 9 and they are working correctly when opened from Acrobat X Professional but when I open pdf file in Reader X the do not work. In Acrobat Pro clic

  • Case insensitive search mode by jbo:DataQuery

    I'm working on a BC4J JSP project. I cannot find a way to search in the case insensitive mode. I'm using JDeveloper 9.0.3.1. I looked in the DataQueryComponent.jsp, the xxxx_Query.jsp, and all the files generated under the ViewObject to find a way to

  • E1200 weird connection problem

    Recently I got a brand new E1200 from the Cisco store to replace Apple Extreme Base station for my home wireless network. The router deployed just fine except one weird problem. While all devices (desktops, laptops, cell phones, iPad) can access the

  • What SSD Should I Get And What Size

    Looking to get an SSD to boot and store applications on, Late 2011 Macbook Pro 15" quad core i7 2.2Ghz. Currently looking at: http://eshop.macsales.com/item/OWC/SSDEX6G060/ Tell me what you think.

  • Update & select query when tablespace in backup mode

    Hi, I have a query related to the DML statement when tablespace is in backup mode. Suppose when put the tablespace in begin backup mode then during the time one user run an update statement against this tablespace and commit the transaction and other