Home Service Manager
Options

PSA: Always limit string length in your text prompts!

Leigh_KildayLeigh_Kilday Member Ninja IT Monkey ✭✭✭✭
edited October 2016 in Service Manager

Symptom

A user fills in a SR/IR form with information, and some fields don't appear in the SR/IR's User Input area or its mapped field.

Cause

The string length for the prompt of the missing field is greater than that of the field to which it has been mapped.

Fix

Check the Limit String Length checkbox when creating a RO every time.


We had been trying to figure out why some IRs have no Title. It turns out users were pasting their input from Description (4000) and pasting it into the Title (200) field.

Comments

  • Options
    Mark_WahlertMark_Wahlert Customer Advanced IT Monkey ✭✭✭
    Damn! So every RO with a custstring text prompt should manually be capped to 255 or a Custlongstring (or equivalent extension).   :(
  • Options
    Thomas_HathawayThomas_Hathaway Customer IT Monkey ✭
    Also remember that if you extend your work item class to set the MaxLength within the MP to the character count you want. We had a similar issue and this was our solution.  
  • Options
    Tony_CollettTony_Collett Cireson Support Super IT Monkey ✭✭✭✭✭
    It's a very good idea to limit your string lengths. If required, you can also extend the class and increase the field length 
Sign In or Register to comment.