

You can even code 'HIGHEST 10 ' to control the number of options. If you want HIGHEST or LOWEST sort order, just include it with the field name in single quotes.Īnd there's more. SET &DUMMY = &CHOOSE_DATE.(FIND 'HIGHEST DATE' IN GGSALES).Choose Date. So I got to thinking that providing the Field value is interpreted as a single group of words or token, the process should work if you used. The following table describes whether the external entities are expanded for the various types of XmlReader objects. The XmlReader implementation determines whether or not the Skip method will expand external entities. The code that is run for the option list is - If the reader is an XmlValidatingReader, this method also validates the skipped content. Now for the amper autoprompting the last two are set to null and therefore not accessible. Looking at the code that is executed to derive the options for the select control, there are four parameters passed known internally to the JS being accessed as file, field, pre and where. May 14, 2008, 03:36 AM Tony AScratch that, I have been playing For select controls with special sorting requirements, I use a "sourcetype" attribute of "typeFex" and control the sorting myself. I actually have a frameset split into two sections (as per autoprompt page) with the left hand frame being populated by the bespoke launch page. It is what I do most of the time for the very reason you have encountered. Admins can use this custom XML skip the usage access permission prompt.

Some device OEMs require device end users to grant apps with usage access permission on their devices. You could try an NFR but your best method (imho) would be to control everything yourself and build your own launch page instead of relying upon amper autoprompting. On initial setup, if Launcher cannot grant the permission on behalf of the user, Launcher prompts the user to manually grant the permission. I think (please correct me someone if I am wrong) that there, currently, is no way you can effect the order you desire. As that doesn't exist in your MAS then the XML returned would be empty and therefore you will have no options shown in your select control. If you included the HIGHEST in your code you will understand that it will be interpreted as a fieldname. Therefore the code used to return the object array used to populate the control would be. I think that you will find that the Autoprompt JavaScript uses a similar method to that employed within launch pages to obtain field values for use within the select control with a "sourcetype" attribute of "typeMaster".įor example, using your posted code - OR(FIND DATE IN CAR_DATE_LIST) - firstly we know that it's a multiple select control, and therefore the control will be given the attribute "multiple".įrom the rest of the code piece we can determine that the MAS is CAR_DATE_LIST and the Fieldname is DATE. My belief is that the code you have (without HIGHEST or LOWEST) is the only acceptable code for that use.
