Export parameters not remembered in prExport call

Hi Zac et al,
I have my export plugin coming along very nicely.
All the parameters are drawing and reacting as I want...
...BUT...
If I leave a file in the queue and reopen AME the parameters are the plug defaults (or garbage if not initialized).
How does the User Preset (.epr) or one of the saved Presets get loaded into the parameters?
I would have thought it HAD to call prValidateParameters after parsing the .epr and in turn changing all the GUI parameters.
eg
     prDefaultParameters()
AME then changes all the parameters to the epr values then calls
     prValidateParameters()
but it isn't doing that at all.
Without that code path prExport starts with the prDefaultParameters (which is wrong since a generic default is not the same as the user's .epr).
How is this supposed to work?
thx

Hi Edward,
Not sure if you already worked this out, but here's some findings from testing with the SDK exporter.  The process of restoring the parameter values from a previous session or a preset should be automatic.  By the time exSelPostProcessParams is called, the param values from the preset should be loaded and accessible using GetParamValue().  The trick is to set the min/max ranges during exSelPostProcessParams (since that is the proper time to set those), without overwriting the param values that came from the preset.  For the slider param in the SDK Exporter, this code works:
    // Set the slider ranges, while preserving the current value
    exParamValues sliderValues;
    lRec->exportParamSuite->GetParamValue(exID, 0, ID_SLIDER, &sliderValues);
    sliderValues.rangeMin.floatValue    = 1.0;
    sliderValues.rangeMax.floatValue    = 50.0;
    sliderValues.disabled               = kPrFalse;
    sliderValues.hidden                 = kPrFalse;
    lRec->exportParamSuite->ChangeParam(exID,
                                        0,
                                        ID_SLIDER,
                                        &sliderValues);
If you're seeing strange values coming in from presets, it could be that your presets were created with an older version of your plug-in, where the parameters were defined differently.  Since you don't have to worry about backwards compatibility yet, you might consider deleting them, flushing the parameter cache, and recreating the presets.
Regards,
Zac

Similar Messages

  • Batch Loader Command Execute Export Parameters() not in Documentation

    Hello,
    I'm trying to use the Batch Loader Command Execute Export Parameters() command to export my shared library into a text file and do not see the any detailed references in the epma doc, although the doc does mention Export. We're on 11.1.1.3.
    I tried to use something similar to the Import, but it is still not correct.
    Execute Import Parameters(importtype, profilename, filename,waitforcompletion) Values('flatfile', 'Comma', '.\AppFiles\CommaApp.ads','true');
    Has anyone any ideas on the required parameters to use? Many thanks.
    regards.
    Edited by: cg on Feb 29, 2012 6:14 AM

    John, thank you for your reply. Is there a way to automate the file generator to generate the ads file every night? Or by use of some other command?
    Also, Export is mentioned in the doc, but perhaps that was added but never implemented for this version.

  • Premiere CS6 does not remember some settings when saving custom export presets.

    When I save a custom export preset in the export window, some settings are not remembered, and I need to change them every time again and again! The settings so far I found to not be saved are:
    Key frame every ... frames
    Limit data rate to ...

    Interesting...
    When I create and save an a H.264 QT preset
    using the Export Settings dialog from within Premiere,
    it does not save the key frame interval or max bitrate.
    However, when I create a H.264 QT preset from within
    Media Encoder and save... the missing settings are saved
    and can be recalled from within the Premiere Export Settings dialog.
    EDIT:
    Re-tested this a bit more, and now the kf interval & max bitrate are
    being saved with the presets created in Premiere Export Settings dialog.
    Odd... my first 2 tries didn't take?

  • Export Parameters in Parameterized Message Mapping does not work.

    Hello, XI-Gurus!
    I have a question: how to use an EXPORT parameter in Parameterized Message Mapping? seems it does not work...
    (I use XI / PI 7.1)
    For example, I have a follow scenario: a large message comes to XI from one BS (message contains a lot of rows), then this large message splits to some small messages (something about 1000 rows in one small message), and send small messaeg one by one from XI to second BS. So, after receive step I use a transformation step with Parameterized Message Mapping to get a total amount of rows in large message (it needs for making condition for loop in IP, for example). I want to use an EXPORT parameter to pass this number from Parameterized Message Mapping to Integration Process. How can I do it?
    Of course, I know the way to how to make this scenario without any parameterizing, but I want to use exactly "Parameterized Message Mapping" like it writes in this help:
    http://help.sap.com/saphelp_nwpi71/helpdata/en/43/c3e1fa6c31599ee10000000a1553f6/frameset.htm
    This topic contains something about procedure how to use an EXPORT parameter, but this procedure does not work. I don't understand how to write this UserDefined Function, which I can set any export parameters.
    I read this blog:
    /people/jin.shin/blog/2008/02/14/sap-pi-71-mapping-enhancements-series-parameterized-message-mappings
    this blog has NO solutions about EXPORT parameters. about IMPORT parameters - everything OK.
    Some topics about how to use export parameters in MM in this forum marked as "answered", but this is not true.
    How to export parameters from Message Mapping
    Export parameter REALLY work in message mapping???????
    Export parameter in Message mapping UDF
    WBR,
    Vsevolod

    Hi Rudolf,
    It still does not works.
    Great thanks for all your answers! If your advice works on your PI-server, it means that my problem not in UDF.
    Step by step:
    1) I create in "Signature" tab two parameters: FILE_NAME, FILE_TYPE (of course, they both Export and xsd:string type)
    2) Then, I goes to "Functions" tab and create new function "testUDF" with one argument var1.
    3) In body of this UDF insert 2 strings:
       getOutputParameters.setString("FILE_NAME" , "Order");
       getOutputParameters.setString("FILE_TYPE" , "PDF");
    4) in "Definition" tab I bind function "Local.testUDF" with one field in my input message and goes to "Test" tab for testing.
    5) And then I have a message window "Problems While Testing":
    Source text of object Message Mapping: mm_ParamMap | urn:****.*.:****:TEST has syntax errors:
    Function testUDF, Line 1:
    cannot find symbol
    symbol  : variable getOutputParameters
    location: class com.sap.xi.tf._mm_ParamMap_
    getOutputParameters.setString("FILE_NAME" , "Order");
    ^
    Function testUDF, Line 2:
    cannot find symbol
    symbol  : variable getOutputParameters
    location: class com.sap.xi.tf._mm_ParamMap_
    getOutputParameters.setString("FILE_TYPE" , "PDF");
    ^
    Note: /usr/sap/PID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapb1562570ca9e11deb3fe00237d301cd6/source/com/sap/xi/tf/_mm_ParamMap_.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details. Note: /usr/sap/PID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapb1562570ca9e11deb3fe00237d301cd6/source/com/sap/xi/tf/_mm_ParamMap_.java uses unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    2 errors
    Look at this notes, first writes that I use a deprecated API, second - about unchecked or unsafe operations.
    And I have no idea what's wrong... Can you help me?
    Thanks!
    WBR,
    Vsevolod

  • CS6 not remembering my export settings

    I just updated to CS6 from CS5.5  So far everything seems ok except that CS6 does not remember the format and preset I used to export my projects.  It always comes up as AVI/NTSC DV when I go back to export my project even after I have saved it with a different export option.
    In CS5.5 it would always remember my last export settings, but CS6 seems to lose that.  Do I have something configured wrong?
    -Roger Uzun

    Hey zamboknee,
    Try Resetting Network Settings on the iPhone, go to Settings> General> Reset> Reset Network Settings. The iPod touch may have incorrect network settings saved.
    Jason

  • Problem passing an export parameters in rfc call using the function control

    Hello,
    I use SAP Remoute Function Control (wdtfuncs.ocx) in my C++ application. I can execute remote functions, if they don´t need any export parameters:
    CSAPFunctions m_Functions;
    CFunction f;
    f.m_lpDispatch = m_Functions.Add("RFC_CREATE_DOCUMENT_MASTER");
    f.Call();
    How can I set the export parameters?
    Any help appreciated.
    regards,
    Vladimir

    check out this thread
    Re: Sample code in ASP to connect SAP?
    Regards
    Raja

  • CS3 can not remember export location!!!

    I can not believe that even this new version CS3 can not
    remember the export location of slices. each export I need to
    browse to my project folder. this was a known bug over all the
    previous versions and it is still a huge bug!
    Mic

    If you're talking about the right-click functionality: You
    have to go to File -> export, and then export to your desired
    location first (you can even opt to "export selected slices only").
    Then when you right click and "export selected slice" it'll
    remember your location.
    Fireworks has always been this way as long as I can remember.

  • HT5312 Every time i try to buy something from the Itunes i cant because i most answer the security question but I don't remember my security question answer help plzzz, note: I can't call the apple support because I live in Saudi Arabi

    Every time i try to buy something from the AppStore  on my iPad or iPhone 4S i cant because i most answer the security question but I don't remember my security question answer, when I try to go change it from my Apple account he ask me the security questions agin and I don't know the answer help plzzz, note: I can't call the apple support because I live in Saudi Arabia

    If you don't see the 'send reset info' button on the page where you can change them then I assume that you don't have a rescue email address (which is not the same thing as an alternate email address) set up on your account. As you won't be able to add one until you can answer 2 of your questions, you will need to contact iTunes Support or Apple to get the questions reset. You could try contacting iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Account Management , and then try Apple ID Account Security

  • HT1414 I have a nano the old one or first gen as y'all call it.  With the new itune program I am unable to purchase songs. It ask for security questions I just do not remember any of it.  I owned on 3 cars, I have been in only two states, I had only 3 job

    I HAVE A FIRST GEN NANO, WITH THE NEW UPDATE TO ITUNE PROGRAM I AM UNABLE TO PURCHASE MUSIC.  I DO NOT REMEMBER SECURITY QUESTIONS. I HAD ONLY 3 CARS, LIVED IN ONLY 2 PLACES AND HAD ONLY 3 JOBS. THE SERIAL NUMBER IS NOT ON FILE AND WAS TOLD THAT I HAD TO PAY FOR SERVICE.  I HAVE MONEY ON MY ACCOUNT AND WOULD LIKE TO KNOW HOW TO GET IT BACK.  I DO NOT WANT TO BUY ANOTHER DEVICE FROM APPLY. HELP PLEASE

    Click here for information. If you can't get the answers emailed to you for some reason, contact the iTunes Store staff via the link in that article.
    (75684)

  • I have tried all the remedies for Firefox when it comes to remembering my user ID and passwords but it still does not remember them. I have the windows 7 starter system in my mini laptop. Is there a number that I can call to discuss with someone at Fire

    I have tried everything that the answered questions have said and no results. I just need to talk to someone.
    == This happened ==
    Every time Firefox opened
    == I have tried everything that the answered questions have said and no results. I just need to talk to someone. ded Firefox from the web page

    I have been in the tools section and went to options and under the privacy section I have selected to remember the passwords and it does not. I also went into the security section and checked the remember the password section and it does not remember them.My exception are empty in security section also. I have read all of the replys and have yet to solve the problem.

  • Import and export parameters.

    Hi Experts,
    If I am using import n export parameters for getting data from a different program into my main program, do i have to declare the variables again in the second program.
    For ex:
    The main report has the following piece of code:
    data: int1 type I,
            int 2 type I.
    export: int1 to memory id 'mem1',
               int2 to memory id 'mem2'.
    submit report 'call_report' and return.
    The call_report has the following piece of code:
    import: int1 from memory id 'mem1',
               int2 from memory id 'mem2'.
    So if I am not declaring int1 n int2 explicitly in this report, i get the syntax error that they r not defined.
    My confusion is that when v r exporting int1 n int2 from the main report, then y is the explicit declaration required?
    Is ther no other way out than decalring int1 n int2 in the call_report.
    I will reward all the helpful answers.
    Thanks,
    Ajay.

    Hi Ajay,
    With EXPORT u r not exporting the variable and its definition but the content(data) of the variable u r exporting. So if u want to get the content in another program then u have to declare the variables of same type in the calling program also. Similarly with IMPORT u are not downloading the attributes of the field but only the content of variable u exported earlier.
    Another point to remember is u have declare the variable in the second report with the same name and type as of first report.
    Also check below piece of code which is similar to ur req
    First report
    REPORT Z75694_TEST .
    DATA: i_data TYPE i VALUE '1111'.
    EXPORT i_data TO MEMORY ID 'VINOD'.
    CHECK sy-subrc IS INITIAL.
    WRITE: 'Exported'.
    SUBMIT Z75694 AND RETURN.
    Second report
    REPORT z75694.
    DATA i_data TYPE i.
    IMPORT i_data FROM MEMORY ID 'VINOD'.
    WRITE:/ i_data.
    It is working fine.
    Hope this clarified ur doubt.
    Thanks,
    Vinod.
    Edited by: Vinod Kumar Vemuru on Apr 11, 2008 10:35 AM
    Edited by: Vinod Kumar Vemuru on Apr 11, 2008 10:44 AM

  • RFC export parameters missing

    Hi all,
    My scenario is SAP 4.6 RFC to XI 3.0 to SAP 4.6 RFC...I created function Z_SEND_PCARD_PAYMENTS in 4.6 with export and table parameters....Imported this into XI...Setup messages, interface mappings, etc...When I execute RFC (async) using dest XI and look at XML monitor....I see only my table parameters....My RFC export parameters do not show in the payload....
    Thanks,
    Wiley

    Hi,
    import parameters in the RFC
    are EXPORTING (not export)
    parameters in the calling program
    >>>Setup messages, interface mappings, etc...
    did you define messages in XI for request RFC or response?
    (it should be for request)
    EXPORTING parameters from your abap report are
    import parameters in th RFC and these are request RFC messages in the XI repository
    at least that's how it works for me:)
    Regards,
    michal

  • Sharepoint 2013: Url parameters not parsed?

    Hi and goodmorning,
    I'm here asking for your kind help (sorry for my bad english): I'm deploying an internal portal for a non-profit association:
    we have Sharepoint 2013.. and everything I did in the past with 2010 with no problems.. now seems to be much more complicated.
    What I have is:
    an external list from a sql server (list is displaying correctly)
    In the content type I defined a field as filter "CercaNome" (it's a sql field)
    in my default view list"lista.aspx" I created a parameter:
    <ParameterBinding Name="FltNome" Location="QueryString(FltNome)" DefaultValue=""/>
    4. and a filter:
    <Method Name="Insoluti40Read List">
    <Filter Name="CercaNominativo" Value="*{FltNome}*"/>
    </Method>
    What I expect is that calling the page with: lista.aspx?FltNome=ADA  to have all record containing "ADA" in "CercaNome" field, instead I receive always all record (filter is not applied)
    If in the  FltNome parameter binding  I put DefaultValue="ADA" and i call
    the page lista.aspx with no parameters, it returns the correct dataset (only records containings "ADA" ) and this means that filter work correctly but the querystring instead is not parsed.
    Anyone can help?
    thanks

    Hi ,
    This should help you
    http://blog.pentalogic.net/2014/05/sharepoint-designer-2013-how-to-modify-list-view-filters-parameters/
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Display of Export parameters as Rows

    Hi
    How do you pass the export parameters as individual rows instead of columns in RFC Adaptive Call of Bapi functions.
    Thanks in advance
    Srikant

    Hi Anil,
    Its not clear what you mean to say here.
    In my application: The Export Parameters are to be shown as rows of a table. But while binding they get displayed as columns.
    Firstly how do I transfer the ModelNode metadata to Valuenode metadata info? As, they are incompatible data types
    Secondly, even if i'm able to transfer metadata to value node. On giving the binding to this data source, value attributes again get displayed as columns only!!
    Is there any better solution to it?
    Thanks in advance
    Srikant

  • Application Parameters not working in the Transactional iViews

    We had created transactional iViews for calling the standard SAP Transaction: IQS8 and IQS9. Here the issue is that we would like to populate the default screens for these 2 transactions with different set of default values.
    So, we created variants and sending them as an application parameter to these trasnactional iViews. When we call this iView it is displaying these default values as per the variant which we are sending. But when executing that transaction, it seems those application parameters that we send through the iView are not being used to call that transaction.
    How to enforce the transaction to make it use the application parameters as default values, does any one has any idea?
    Please let me know if any one of you have a solution for this.

    Hi Venkat,
    You might want to try the following approach:
    1- Create a new transaction code in your SAP system (using transaction SE93 - maintain transaction) which would be a transaction variant of the transaction you want to call with a specific variant
    2- Create a 'SAP transaction' iview that points to the new transaction code you created (SAP information <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/88/266a3e54a2e946e10000000a114084/frameset.htm">here</a>)
    Hope this helps.
    Regards,
    Joseph

Maybe you are looking for

  • Windows 7, Itunes 10.3.1.55. "iTunes is unable to browse album covers on this computer".

    I just built a new Computer and sucessfully moved my iTunes Library and music over (Windows 7, Itunes 10.3.1.55).  I am getting a message on the cover flow view that states, "iTunes is unable to browse album covers on this computer".  This Cover Art

  • JProgressBar in a JDialog ?

    I wished to display my progress bar in a JDialog. I tried adding the progress bar to an independent JDialog and displayed it and it seemed to work. But I wanted a modal JDialog to be part of the JFrame of my application while showing the progress. Th

  • DaqMX - Access TDMS dt and timestamp Before "Stop Task" is called

    When using DaqMX to store sampled data to a TDMS file, how can I access the Start Time and dt? Is there a property Node, etc I can read from? The TDMS file does not include the datestamp and dt until AFTER the "Stop Task" is called (looks like anothe

  • Selecting an item twice in JList

    Hy, I have create a JList with some animal's name in it. When I click on one of the animal's name for the FIRST time, it appears in a JTextArea. What I want is that when I click on that same name consecutively, it appears again in that JTextArea. Can

  • Internal mic poor quality when recording in iMovie

    I noticed exceptionally poor quality of internal mic when recording acoustic guitar piece on iMovie, with the built in iSight camera. Technically, the sound is called "Phasing" - it sounds like a slow 'whoosh' over all of the audio. After investigati