Forum Discussion

BamaGirl's avatar
BamaGirl
New Contributor II
3 days ago

Dashboard component/business rule

Is it possible to do a live character count using a text box and label component inside of a business rule that counts characters as they are being typed into a text box component that is used in a dashboard? The contents of this text are written to a relational table but as for the character count, I want to do that live BEFORE I write the contents to a relational table. This is on an 8.4 application.

1 Reply

  • RobbSalzmann's avatar
    RobbSalzmann
    Valued Contributor II

    AFAIK not possible.  OneStream is proprietary UI components that lack the discreet event handling needed for your requirement.  You would have to make a user initiated button click round trip to a business rule for each character to accomplish this.

    Instead consider placing a label near the textbox informing the user of the character limit.  If exceeded on save, send back a message through the XFSelectionChangedTaskResult object in your Dashboard Extender code that handles this event.