UPRRDevelopers
asked on
Stripping Data from a Lotus Note
I will be receiving a Lotus Note and need to build an agent to strip the fields and assign the data to variables. The body of each note will be something like this:
Contact: John Doe
Phone: 555-1234
Location: San Antonio, TX
Problem: Client is trying to start windows and is receiving an application error.
Severity: High
I need to get the values for each field from the body of the note. The problem is, I'm not sure how long each field will be. Surely I'm not the only person that has tried this. Does anyone have some sample code that I can review? Thanks.
Contact: John Doe
Phone: 555-1234
Location: San Antonio, TX
Problem: Client is trying to start windows and is receiving an application error.
Severity: High
I need to get the values for each field from the body of the note. The problem is, I'm not sure how long each field will be. Surely I'm not the only person that has tried this. Does anyone have some sample code that I can review? Thanks.
ASKER
Outstanding! It works perfectly. I changed the agent to fire when an email is delivered to the mailbox, but it's not doing anything. Is there a trick to make this run automatically when an email is delivered to the mailbox?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That's exactly what I needed.
There are 3 pieces of code below:
- An agent that works on the current, open memo.
- GetMemoText function needed by the agent.
- ParseData function needed by the agent.
Open in new window