Why my collection only display 100 records in the list in the array widget

352 views
Skip to first unread message

nas-adora...@lafargeholcim.com

unread,
Aug 10, 2017, 11:45:18 PM8/10/17
to Fujitsu RunMyProcess Developer Community
Hi Support,

I have collection name MY_ETQ_UOM.

I just use below javascript to display UOM collection in the variable list in array widget.

function list_ok(result) {
var vb_uom = new Array();

for(i=0;i<result.length;i++) {
vb_uom.push({"label":result[i].uom,"value":result[i].uom});

}

var a = new RMP_List();

a.fromArray(vb_uom);

RMPApplication.setList("my_array.vb_uom",a);

}

function list_ko(result) {
alert("ko=" + JSON.stringify(result));
}
var my_pattern = {};
col_MY_ETQ_UOM.listCallback(my_pattern,{},list_ok,list_ko);

The collection contains of 207 records but the collection only display 100 records.

What is the problem?

I already read below guide but this guide only when you use custom list & listen to the 1st column to display the 2nd column.

http://docs.runmyprocess.com/Developer_Guide/Collection/Collections_To_Array

Gunjan Rajgure

unread,
Aug 14, 2017, 6:57:31 AM8/14/17
to Fujitsu RunMyProcess Developer Community
Hello Sir,

The default size of display items is 100 and max size is 1000 items. If you want to display any no of record, then you have to use options parameter in your listCallback request and specify number of items you want to display there.

for eg : 

var options = {};
options.nb = 207; // Specify the size of records to be display from collection. 

You can refer documentation link here. to get more information about Options parameter.

Hope this will helps you.

For any other query, please don't hesitate to contact us.


Thanks & Regards,
Gunjan Rajgure
Fujitsu - RunMyProcess Support


--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum+unsubscribe@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/c678151d-681b-4886-8be1-89676dbe62b6%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.

Nas Adora MOHD DAN

unread,
Aug 15, 2017, 1:31:55 AM8/15/17
to suppor...@runmyprocess.com
Hi,

Ok tq for your help. It works & you can close this issue.

You received this message because you are subscribed to a topic in the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this topic, visit https://groups.google.com/a/runmyprocess.com/d/topic/supportforum/Ph8N7uVjT1Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to supportforum+unsubscribe@runmyprocess.com.

To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.



--
Thanks and regards,

Nas Adora binti Mohd Dan | IT Application Specialist

MYIS Department
LAFARGE MALAYSIA |  No.2, Jalan Kilang, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia.
Office: +6 03 7962 3569 | Mobile: +6 016 2110063 Fax: +6 03 7785 1453


A member of LafargeHolcim



=================================================
                                     Safety Our Way of Life
                            Keselamatan Amalan Hidup Kita
=================================================
Disclaimer:

By communicating with Lafarge Malaysia, you are deemed to have consented to processing of your personal data as set out in the Lafarge Malaysia Privacy Notice which can be viewed here.

This email and any files transmitted with it are confidential and intended only for the use of the person to whom it is addressed. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Please notify the sender immediately by email if you have received this email by mistake and delete this email from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any files for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

analis...@cdaautomas.com.co

unread,
Dec 28, 2017, 4:08:12 PM12/28/17
to Fujitsu RunMyProcess Developer Community
hello gunjan.rajgure

I have a problem with var option={};
I this is my code
function categoria(){
var vb_name = "vb_name_" + P_index;
var p_widget = id_my_producto.id_nombre_id[P_index];
var my_pattern = {};
my_pattern.categoria_id = [[my_producto.categoria_id]][P_index];
col_categoria.listCallback(my_pattern,options,{},set_list_names(vb_name,p_widget),get_names_ko);
my_pattern.categoria_id = [[my_producto.categoria_id]][P_index];
var options = {};
options.nb = 307;

}
but i not function , i need help thanks.

shraddhap...@gmail.com

unread,
Dec 29, 2017, 12:13:03 AM12/29/17
to Fujitsu RunMyProcess Developer Community, analis...@cdaautomas.com.co, suppor...@runmyprocess.com
Hi Sir

Could you please elaborate the issue you are facing or share screen shots of the error, so that we can assist you to fix this issue.

You can also go through the below link for reference:
http://docs.runmyprocess.com/Developer_Guide/Collection/Collection_JS_Freemarker#list-objects

Regards
Shraddha Pangantiwar
Fujitsu RunMyProcess Support

Dipen Raval

unread,
Dec 31, 2017, 4:37:12 PM12/31/17
to Fujitsu RunMyProcess Developer Community, analis...@cdaautomas.com.co
Hi Sir,

Awaiting for your response.

Thanks & Regards,
Dipen Raval
Fujitsu RunMyProcess Support

--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum+unsubscribe@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.

Ghanshyam Mule

unread,
Jan 1, 2018, 10:22:43 PM1/1/18
to Fujitsu RunMyProcess Developer Community, analis...@cdaautomas.com.co
Hello Sir,

Have you checked reference link provided in the last post in order to debug your issue?

If not  please check & feel free to contact us for more information.

regards,
Ghanshyam
Fujitsu RunMyProcess Support

shraddhap...@gmail.com

unread,
Jan 3, 2018, 7:54:37 PM1/3/18
to Fujitsu RunMyProcess Developer Community, nas-adora...@lafargeholcim.com, suppor...@runmyprocess.com
Hi Sir,

Awaiting for your response.


Reply all
Reply to author
Forward
0 new messages