on 07-18-2015 7:29 AM
Hi techies,
I had been using various URI variants.. I came across ?$select from this awesome document.
Want to use "Userset?$select=FirstName,LastName" in URI.
Facing error while declaration for its structure..
any comments will be helpful..
Please correct me if I went wrong anywhr in code..
Thanks,
Pavan Golesar
Hello Pavan,
You need not to code any where to use $select in the URI. This feature comes out of box by default and no implementation is needed.
I do not see any need to implement this alternatively via code.
However the error is because you are not giving space between the braces.
your code is ( no space between the braces )
data: my_select_fields type /iwbep/t_mgw_tech_field_names.
my_select_fields = io_tech_request_context->get_select().
i.e., correct code is ( there is space between the braces )
data: my_select_fields type /iwbep/t_mgw_tech_field_names.
my_select_fields = io_tech_request_context->get_select( ).
Carefully observe the highlighted part ( which is in bold ) in the code.
Use the correct code and your free with errors.
There is red highlighted part in the code of your screen shot which is already highlighting to provide space between the braces .
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.