Lukasz Formela
07/06/2020, 1:54 PMgetLineCount()
returns 0 for User Event in view mode? I'm trying to pull lines of sublist that consists of custom records.
I get correct amount of sublist items in edit mode, also I still can pull list of sublists of parent record in view mode anyway.MTNathan
07/06/2020, 2:14 PMMTNathan
07/06/2020, 2:14 PMalien4u
07/06/2020, 3:19 PMbeforeLoad
entry point?MTNathan
07/06/2020, 3:25 PMbeforeLoad
is my use case, yes. An example of why I've wanted to get line counts in `beforeLoad`/`view` is to disable buttons based on whether or not a particular sublist has any entries in it.alien4u
07/06/2020, 3:30 PMbeforeLoad
help:
• Data cannot be manipulated for records that are loaded in beforeLoad scripts. If you attempt to update a record loaded in beforeLoad, the logic is ignored.alien4u
07/06/2020, 3:31 PMMTNathan
07/06/2020, 3:33 PMbeforeLoad
to adjust the form, which is definitely supported). A search is a good alternate suggestion, though I don't know if that's better for performance than a record load.Lukasz Formela
07/06/2020, 3:39 PMbeforeLoad
entry point. Even if record is loaded in read-only mode, personally I see no reason why that data could not be available. @MTNathan was trying to do the same thing as it turns outalien4u
07/06/2020, 4:07 PMMTNathan
07/06/2020, 4:12 PM