Writing Text to Media Object from I.V.

NeeleshBhatt

Member
I am figuring a way to add text to a Media Object from a Text Area (Form Control). I also need to know how do i retrieve text to the text Area from the Media Object.

I have tried using the "Get text" and the "Set text" functions but they dont seem to work for me. I think i'm going wrong with the "Text ID" parameter.

Can someone in here please help me.

Thanx
smile.gif
 
From the System Function menu,
choose Media Object Structures
select the media object you are using (e.g GT4301)
Then complete the parameter list as follows:

Media Object Control: <Default Media Object>
Action: <Set Text> OR <Get Text> (to set or retrieve)
Text ID: <Default Text Object>
Output Text: FC TextField
then complete the key fields (e.g DOCO, DCTO, etc)

Hope that helps!
Jane.
 
Thanx for your reply jane.

I tried doing the exact same thing but it doesnt seem to work. Any other way??
 
There's always another way!

Having re-read your first e-mail, it sounds as though you are displaying the media attachment on the form and the users are typing in the text. Is that right?

In that case, then you want to use the <Save> action instead of <Set Text>. The parameter list is slightly different, so you have:

Media Object Control: <Default Media Object>
Action: <Save>
Status: VA_evtStatus_EV01 (returned)

then the list of key fields . .

If you are still having problems, I'd suggest making sure the key fields are correctly populated at the time you are calling the save function.

The <Get Text> function should still work to retrieve your saved text.

Warm regards,
Jane.
 
Back
Top