R
romain.pennes@foederis.fr
Guest
Hello, Thank you Orchid for your answer. Unfortunately, even though I thought about it, I don't think I can use loop_begins statements because I don't know the view Id in advance because it is a dynamic parameter. Indeed, I want the user himself to define a view by entering its ID into a Integer type of field, and then I want to retrieve the records for this view. Which means I should be able to do something like that: var viewId = rbf_getFieldValue('view_id'); '{!#LOOP_BEGIN.all#'+viewId+'(20)}' $("#storeHere").append(" div {!name} --- {!id} /div "); '{!#LOOP_END.all}' Which makes no sense because loop_begins statements are evaluated in server-side and my rbf call is going to be client-side. However, do you know if we can do this: var viewId = rbv_api.getFieldValue('myObjName', {!id}, 'view_id'); '{!#LOOP_BEGIN.all#'+viewId+'(20)}' rbv_api.println('test'); '{!#LOOP_END.all}' In Server-side triggers? Hopefully the getPage function can be fixed because It should probably not query through all relationships if we ask it not to by setting the "composite" parameter to 0. Then it would be perfect for me! Thank you very much. Kind regards, Romain.
Continue reading...
Continue reading...