Parameter field still editable after setting flag 'PropFlags​_NotEditab​le'?

Hi,
Parameter field still editable after setting flag ‘PropFlags_NotEditable’?
I have defined a step type with a string parameter. (MyParameter). This parameter field has to contain custom generated data, stuffed from a code module.
I want to have ‘MyParameter’ read only for all instances of the step in my sequence.
I have set the property flag ‘PropFlags_NotEditable’ for ‘MyParameter’ in my step type definition, because I want to have this parameter read only in all instances.
When I try to edit ‘MyParameter’ field in an instance of the step in the sequence in the variable pane ‘Step’ - ‘MyParameter’, it still works?
What is wrong here, I suppose this should work?
Best regards

1) Make sure you have show hidden properties turned on in the station options, preferences tab.
2) In your step type expand the variables to the place where the expression is stored for the parameter argument. In the .NET adapter this would be something like the following:TS.SData.Call.Params[0].ArgVal. Right-click on ArgVal and select the Properties menu item.
3)  Click on the advanced button and select flags.
4) When the edit flags dialog pops up, click on the Type Flags button.
5) Check the PropFlags_NotEditable flag for the Instance Default Flags section. Click OK on this dialog.
6)  If you want the change to effect currently open instances I think checking the "Reset Flags... " checkbox on the edit flags dialog will do this, otherwise this change will only effect new instances of your step type. Press ok on the remaining dialogs.
7) New instances will now not allow editing that value. NOTE: This only works for the sequence editor module panel though. It does not work for the dialog version used by the user-interfaces.
One thing I want to make sure you are aware of for step types is that using a default code module like this has drawbacks versus using postsubsteps. Setting the default code module doesn't keep the user from changing the specification after they insert the step, also updating existing steps if you want to change the prototype is more problematic. You might be better off with a design more like the step types that ship with teststand like the message popup step type (which also ship with source code so you can see how they are implemented) which instead use post-substeps and edit-substeps and instead designate the none adapter for the step type so that the step type can never have a code module. What they do instead is their edit substeps display a dialog that gets the settings/parameters to the operation that the step type performs and stores those as subproperties of the step. Then at runtime the post-substep gets this information and executes the necessary code. Unlike the default code module setting, changing the substeps in a step type automatically effects all existing instances of the step. Changing the code module only effects new instances, and loaded instances if you check the checkbox for that.
Hope this helps,
-Doug
Message Edited by dug9000 on 04-16-2010 09:58 AM

Similar Messages

  • Making field input editable after giving error msg from table event 01

    Hi All,
    I have a requirement of giving error msg and making that row or the particular field input editable by writing code in table event 01 i.e before saving any record in a z-table i have to chk some condition for a column value and if that condition fails then i have to give error msg and make that column input editable.
    I have created a routine for event 01 and written the code to give error msg. But my problem is that column is not becoming input editable. Could you pls tell me how can i make that field editable?
    Thanks in advance.

    Hi Piyali,
    Use SET PARAMETER & GET PARAMETER ID  .
    You will get it.
    Best Regards,
    Pravin

  • Where's my app? Android disappears (but is still installed) after setting intent.

    Hi,
    I've compiled an app for iOS and Android using a custom url scheme.
    The scheme works a dream, but...
    Since adding in my intent filter for Android, I've found the app doesn't show in "Applications" view, so I can't drag it onto the desktop / page (whatever the correct terminology is). I know my app is both installed and working as I can launch it from a browser using my custom url scheme, it is just utterly impossible to find / launch / uninstall as it doesn't appear anywhere...
    I've pasted my intent XML below, please can anyone who understands these things take a look and let me know if I've done something stupid, such as block out the default behaviour or something?
    Many thanks,
    Gaius
    <application android:enabled="true">
    <activity android:excludeFromRecents="false">
    <intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
    <action android:name="android.intent.action.VIEW"/>
    <category android:name="android.intent.category.BROWSABLE"/>
    <category android:name="android.intent.category.DEFAULT"/>
    <data android:scheme="acustomurlschemevalue"/>
    </intent-filter>
    </activity>
    </application>

    Sorted.
    I needed to list intents separately:
    <application android:enabled="true">
                        <activity android:excludeFromRecents="false">
                            <intent-filter>
                                <action android:name="android.intent.action.MAIN" />
                                <category android:name="android.intent.category.LAUNCHER" />
                             </intent-filter>
                            <intent-filter>
                                <action android:name="android.intent.action.VIEW"/>
                                <category android:name="android.intent.category.BROWSABLE"/>
                                 <category android:name="android.intent.category.DEFAULT"/>
                                <data android:scheme="tiddlypompomppom"/>
                            </intent-filter>
                        </activity>
                    </application>

  • How do I set a NULL value for the parameter field

    Hi
    I've another question. I'm going to set single values for parameter fields.
    // e.g. set today for StartDate parameter field
    fc.setCurrentValue("", "StartDate", new Date());
    It should be possible to set a NULL value for date parameter fields.
    fc.setCurrentValue("", "StartDate", (Date)null);
    But this do not work. How do I set a NULL value correctly?
    Thank you in advance.
    Best regards,
    Thomas

    First question - is it a stored procedure parameter?
    You can't set a regular parameter field value to a null value.
    There was an issue with old version of the JRC, where it was allowing null to go through, but had unexpected behavior at times.
    Sincerely,
    Ted Ueda

  • Rules are not allowed for jobs with set 'archive edited messages only' flag.

    Hi,
    We are on AEX 7.4 and have enabled user defined search and also setup archiving. Even though the retention period has expired but still the messages are not being
    archived.
    We see following issues:
    1. Unable to setup archiving rule in Runtime Work Bench, we are getting following error:
    Rules are not allowed for jobs with set 'archive edited messages only flag.
    2. Unable to set the expiration of messages using the following link.Each time we specify the number days it shows the same number of
    messages expired.
    http://XXXXX:50000/MessagingSystem/job/reorgdb.jsp
    3. However if we click on "remove messages" button the messages are getting deleted which tells me that the messages are not matching any
    archiving rule hence are being removed.
    Any pointers to the above issue are appreciated!!!
    Thanks,
    Rajeev

    Hi,
    Please check the [link|http://www.****************/Tutorials/XI/Archiving/Index.htm]
    Also check this
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/402fae48-0601-0010-3088-85c46a236f50?quicklink=index&overridelayout=true
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=147266890
    Regards,
    Naveen.

  • Text in interactive fields before exporting - but wish it to be still editable...

    Hi, in InDesign CC I have a problem with text in interactive text fields. I would like to write text that is editable after exporting interactive pdf. Because I have many formulars with many many text fields, and my clients would like to edit the text but not write (or paste) everything again. Is it possible to insert text that remains editable after exporting to interactive pdf ? Hope you can help !!!
    and btw - is it possible to use other fonts than Times somehow ? Thank you )
    Maria, Denmark

    hi Maria,
    You'll need to make these changes in Adobe Acrobat after you've exported the InDesing form to PDF (Interactive).
    Presently you can't control which font is used for the form fields in InDesign or enter default text.
    In Acrobat:
    Click Tools.
    Click Form to display the Forms panel.
    Click Edit to enter Form Editing Mode.
    Right-click a text field and choose Properties.
    To change the default font for the text field:Click the Appearance tab in the Text Field Properties dialog box.
    To enter text in a field that appears by default:
    Click the Options tab in the Text Field Properties dialog box.
    In the Default Value box, type the default field text.
    Click Close Form Editing.
    If you have other questions that relate more to Acrobat than InDesign, please post them at the Acrobat Forum.
    Hope this helps.
    Cari
    twitter: carijansen
    facebook: carijansen.au

  • Set default value for parameter fields

    Good day!
    Situation:
    1. I have 2 parameter fields in reports (dateFrom and dateTo)
    2. Before running report in ASP.NET I change value this fields (dateTo = today, dateFrom = today - 3 days)
    3.I use for this source:
    foreach (ParameterField crParam in CrystalReportSource1.ReportDocument.ParameterFields)
                            CrystalDecisions.Web.Parameter crParametr = new CrystalDecisions.Web.Parameter();
                            string ParametrName = crParam.Name;
                            crParametr.Name = ParametrName;
                              crParametr.DefaultValue = ActionReportParameter.GetParametrValue(ReportName, ParametrName);
                             CrystalReportSource1.Report.Parameters.Add(crParametr);
    4. And repurt run without request value parameter fields.
    5. BUT!!! now I need request value parameter fields before report start running - I want set default values for filelds and offer user change its before report start run.
    How do this?
    Thanks

    I believe you need to create your own parameter promt screen. Capture what the user entered and pass that to the report(?).
    slv

  • How to set the field non-editable in the classical report..

    Hi..
              How to set the field non-editable in the classical report..

    Hi experts,
    For the component 'ICCMP_EMP_SRCH' there is a view 'BUPAEMPSEARCH' , which has 2 context nodes 'CUSTOMER' AND 'SEARCHEMPLOYEE' , i need to add the field 'NICKNAME' which is part of the 'CUSTOMER' context node on the search screen. Currrently all the fields on the screen screen are from the 'SEARCHEMPLOYEE' context node. when i did the configuration , the 'NICKNAME' field is greyed out . I have already generated the Getter ,Setter , GET_I, GET_M methods for the 'NICKNAME' field and the context node and controller class and context class are all active .
    on debugging the GET_I method, i see that rv_disabled = 'TRUE' and the current = collection_wrapper->get_current( ) is returning empty value .
    for this rv_disabled to be set false , the code below is not triggered since there is no value in current.
    IF current->is_property_readonly(
    'NICKNAME' ) = abap_false. "#EC NOTEXT
    rv_disabled = 'FALSE'.
    ENDIF.
    when i check for other search fields of context node 'SEARCHEMPLOYEE' , all the fields are set to rv_disabled = 'FALSE'.
    can anyone suggest how to approch this. iam i missing any binding between context nodes or any activations ?
    The field properties are set as Input field and the display checkbox is not checked.

  • Still sleeping even after setting Energy Saver to Never

    I'm trying to use my 2.53 GHz (Late 2009) MM as a server but even after setting the 'Computer sleep' preference to 'Never' in the Energy Saver System Preferences panel, the MM still goes to sleep. This isn't a big issue for me since I can and have used Wake On Lan apps/scripts, but it's a major pain in the you-know-what for other people who need to access this server over the internet.
    Could there be some persistent overriding preference somewhere that is allowing this MM to go to sleep when in fact it should not be because of my setting? I've searched but can find anything.
    TIA for any help with this.

    Interesting... I had an EyeTV that I did install on an older G5 PowerMac that I stopped using before I migrated to this MM back in March. I'll check to see if the EyeTV app was also migrated over and uninstall it if necessary.
    I would have thought that the EyeTV software would default to a "Never Sleep" state considering it's purpose. I'll check this possibility out when I get home after the long weekend.

  • Set width of Parameter field

    I have run a report on web with input parameter populated by LOV. It works fine but when some of the LOV data is very long, say, 300 characters long, then the parameter field displayed is adnormally wide on web browser and looks very ugly.
    Can anyone tell me how to set the display width of the parameter field? (the report is developed by Oracle 9i and is saved in .rdf format)

    Hi Chinnaiya & Sharath,
    DATA lv_50 TYPE i VALUE 50.
    data : lv_mhits type ref to data.
      create data lv_mhits type I .
    append initial line to lt_params assigning <fs_params>.
      <fs_params>-m_id = 'P_MXHITS'.
      <fs_params>-m_WITHIN_BLOCK = 'B1'.
      <fs_params>-m_value = lv_mhits.
      <fs_params>-m_description = lv_text207.
    *add to the selection screen.
    wd_this->m_handler->ADD_PARAMETER_FIELDS( EXPORTING IT_FIELDS = lt_params )
    get reference of lv_50 into lv_mhits.  "this has value '50'.
    *set default value
      wd_this->m_handler->SET_VALUE_OF_PARAMETER_FIELD( EXPORTING
                                                        I_ID = 'P_MXHITS'
                                                        I_VALUE = lv_mhits ).
    That is the code I wrote. Do you see any issues with it?
    Thanks,
    krishna.

  • I already set the Main-Class:class parameter but still error... Help pls...

    I have an experimental project that starts with a main class called "mainConsole"
    I packed it using the NetBeans IDE 3.3.2 jar packager and also set the Main-Class: mainConsole parameter
    I still receive the error below when trying to execute the jar file.
    java.lang.NoClassDefFoundError: mainConsole
    Exception in thread "main"
    Can someone help me?
    Thanks in advance.

    Help me pleeeease!!

  • 24 hours after setting the erase button on the Find My iPhone option in iCloud the phone was still not erased. Does this function work in a timely fashion?

    24 hours after setting the erase button on the Find My iPhone option in iCloud the phone was still not erased. Does this function work in a timely fashion?

    No. It functions when connected to the Internet.

  • Parameter field default values not being set in BO Infoview

    For a report, I have three numeric input parameter fields with a default value of -1.  When the report is processed in the Crystal Reports development environment, the parameter fields are all displayed with the default values. 
    When copied and then processed in BO Infoview, the three parameters come up with a value of "Empty".  In order for the report to process correctly, these "Empty" fields need to be individually called, a numeric value entered and then the report "Scheduled".  Does anyone know of any way to force or get Infoview to use the pre-defined default values of these fields when running with Infoview? 
    Thanks

    In the CMC, you have to config the report object's parameter.
    It's under the Process tab of Object.
    Bryan Tsou@Taiwan

  • After setting up a new user on my Air, can I still access Setup Assistant to transfer files from my old Mac?

    Only after setting up my user account on my new Air do I find out about Setup Assistant vs Migration Assistant. Since, I have tried Migration Assistant - via wireless - twice, to no avail. Both computers (new Mac and old) just stay busy looking for another computer on my network. All I really want to do is move/copy everything from my old Mac to the new Air. Suggestions? Miracles?  Thanks!
    Clay

    You can do it wirelessly, but that will take some time... you could also purchase a Thunderbolt to Ethernet adapter or a Thunderbolt to FireWire adapter. That would certainly be faster. You should be able to purchase either adapter at your local Apple Store or at the online Apple Store.
    Good luck,
    Clinton

  • Modify default value for static parameter field programmatically

    Hi,
    I have my Crystal Reports stored in a BO Enterprise system. I have written a java programm that scans the repository, loads the CR reports one by one into a ReportClientDocument, modifies the data source and then stores the updated report back to repository (it overwrites the existing objects).
    I was even able to modify the default values for the parameters, which are used for scheduling of each report.
    But what I am trying to do know is to overwrite the default value used when invoking the report interactively. This should be the value found under the Default Value field, when the Properties window of the parameter is opened in the CR designer.
    This is what I have tried so far:
    Option 1: First I tried to set the default values using com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.getDataDefinition().getParameterFieldController().getField(...).getDefaultValues() . The only thing I have managed to do using this approach is to modify the static LOVs that are associated to static parameters. The actual selected value (shown under Default Value in the Properties window for the given parameter field) remained unchanged, when invoking the report in the InfoView or opening it in the CR designer.
    Option 2: I have used com.crystaldecisions.sdk.plugin.desktop.report.IReport.getReportParameters().get(ik).getDefaultValues() to change the default values. I was able to see my changes in the BO repository (using a query on CI_INFOOBJECTS), still the changes did not really have an impact to what is displayed as default value when invoking the report in the InfoView.
    Any help will be appreciated.
    It would be great to know if someone of you has already implemented successfully such a use-case.
    Regards,
    Stratos
    Edited by: Efstratios Karaivazoglou on Dec 9, 2009 8:52 AM
    Edited by: Efstratios Karaivazoglou on Dec 15, 2009 11:33 PM

    Hi,
    For Crystal Design related queries, close this thread and start the thread in the [SAP Crystal Reports Design forums|http://forums.sdn.sap.com/forum.jspa?forumID=300&start=0]
    - Bhushan

Maybe you are looking for

  • Is there a way of stopping the kernel from trying to load a device???

    Hi, Basically I have a Nvidia 7950GX2 that i have installed in a Mac Pro to use in windows and it works perfectly but when i try to boot into OSX i get kernel panics.... I still have my 7300 in the machine for OSX. when I try this methos with a 7800

  • How do I remove a File from the Time Machine backup?

    How can I delete a very large folder (30 gb) that I do not need on my time machine backup? I was transferring the file from one computer to another and TM backed it up while it was on my Macbook Pro. Now I have this massive file on my external (time

  • Restrict authorizations for payment item transaction

    Hi All, This is regarding authorizations for a banking system. The requirement is the users need to be restricted for the following transaction based on the Bank Posting Area or the contract managing unit. BCA_PAYMITEM_CREATE When the user goes to cr

  • In Captivate 7.0.1, where are the js files for HTML5 publishing stored?

    In CP6, they were located here: C:\Program Files\Adobe\Adobe Captivate 6 x64\HTML\assets\js But in CP 7.0.1, that directory is blank. Does anyone know, for example, how I could edit the default code that generates CPM.js ?

  • 500 GB internal hard drive?

    Does anyone know if there is a 500 GB internal hard drive available for MacBook 13-inch Aluminum (Late 2008)?? I saw this one online and have had a good thing with Western Digital drives before. http://www.wdc.com/en/products/products.asp?DriveID=506