Established Member.. theMrIndy
Established Member..
1065 views

HP SM 9.33 multiselect.selection("fieldcontents")

Jump to solution

Hi,

 

Is there anyone that have used this $x=multiselect.selection("fieldcontents") for the webclient?

It seems to return a 'null' value BUT if I switch to the windows client its working correctly.

 

BR/M

1 Solution

Accepted Solutions
Highlighted
DimitarPeychev Absent Member.
Absent Member.

Re: HP SM 9.33 multiselect.selection("fieldcontents")

Jump to solution

Hi,

 

 yes, to workaround this issue:

 

To work around this issue, use the following rad expression, instead of $L.rm=multiselect.selection("fieldcontents", $L.file).

$L.info=multiselect.selection("rows");$L.rm={};for $L.x = 1 to lng($L.info) do ($L.void=rtecall("rgoto", $L.rc, $L.filed, $L.x in $L.info - 1);$L.x in $L.rm=number in $L.filed)

The following information is about how this workaround works:

$L.info=multiselect.selection("rows")   //This workaround is based on the current situation: The multiselect.selection("fieldcontents") has a defect, multiselect.selection("rows") works fine.
$L.rm={} //initialize $L.rm
for $L.x = 1 to lng($L.info) do ($L.void=rtecall("rgoto", $L.rc, $L.filed, $L.x in $L.info - 1);$L.x in $L.rm=number in $L.filed) //for each row, insert the number field into $L.rm, if you want to get the content of other field, you should change it accordingly.

 

You can check it here:

 

http://support.openview.hp.com/selfsolve/document/KM1096619

 

RAD function multiselect.selection("fieldcontents") does not work in the web client

 

HP Support
If you find that this or any post resolved your issue, please be sure
to mark it as an accepted solution.
Please also give kudo if you find it interesting 🙂
2 Replies
Highlighted
DimitarPeychev Absent Member.
Absent Member.

Re: HP SM 9.33 multiselect.selection("fieldcontents")

Jump to solution

Hi,

 

 yes, to workaround this issue:

 

To work around this issue, use the following rad expression, instead of $L.rm=multiselect.selection("fieldcontents", $L.file).

$L.info=multiselect.selection("rows");$L.rm={};for $L.x = 1 to lng($L.info) do ($L.void=rtecall("rgoto", $L.rc, $L.filed, $L.x in $L.info - 1);$L.x in $L.rm=number in $L.filed)

The following information is about how this workaround works:

$L.info=multiselect.selection("rows")   //This workaround is based on the current situation: The multiselect.selection("fieldcontents") has a defect, multiselect.selection("rows") works fine.
$L.rm={} //initialize $L.rm
for $L.x = 1 to lng($L.info) do ($L.void=rtecall("rgoto", $L.rc, $L.filed, $L.x in $L.info - 1);$L.x in $L.rm=number in $L.filed) //for each row, insert the number field into $L.rm, if you want to get the content of other field, you should change it accordingly.

 

You can check it here:

 

http://support.openview.hp.com/selfsolve/document/KM1096619

 

RAD function multiselect.selection("fieldcontents") does not work in the web client

 

HP Support
If you find that this or any post resolved your issue, please be sure
to mark it as an accepted solution.
Please also give kudo if you find it interesting 🙂
Jane_VK Super Contributor.
Super Contributor.

Re: HP SM 9.33 multiselect.selection("fieldcontents")

Jump to solution

Dimitar thank you!

 

Do I understand rightly it solution could be used with QBE lists only?

 

For example my case is that I use list consists of only variables so I don't have $L.file.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.