I have a use case where I need to ensure that all rows in related lists are visible. While there is no org-wide setting for this, support article indicates that I could do this by setting the rowsperlist parameter on the URL. (https://help.salesforce.com/apex/HTViewSolution?id=000025257&language=en_US)
So, I'm trying to create a button that launches a flow w/ retURL={!record.Id}?recordsperlist=50 and I cant get it to work.
I'm now experimenting w/ using URLFOR function and $Action to see if I can pass parameter this way, but not successful
/flow/Create_Worker_Reconciliations?vaCostCenterId={!VanaHCM__Cost_Centre__c.Id}&retURL={!URLFOR($Action.VanaHCM__Cost_Centre__c.View, VanaHCM__Cost_Centre__c.Id, [rowsperlist="50"])}
Looking for any other ideas for a declarative way of pulling this off. I'm sure its easily done via embedding flow in a VF page, but trying to avoid going down that road.
2 answers
Move this rowsperlist="50" outside your URLFOR and put it first in your url params - just guessing