Page 1 of 2 1 2 >
Topic Options
Rate This Topic
#138719 - 08/29/07 10:01 AM Attachment Editing and Saving
darasta123 Offline
Stealth Member

Registered: 01/10/06
Posts: 19
Loc: Dallas, Texas
Anyone know of some workflow tips/hacks to edit and save attachments in the following manner.

Open existing attachment -> edit -> save.

instead of the normal:

Open existing attachment -> edit -> save new attachment -> delete old attchment -> attach new attachment.

Thanks in advance,
Suresh

Top
#138732 - 08/30/07 03:48 AM Re: Attachment Editing and Saving [Re: darasta123]
Shark_7-11 Offline
Stealth Member
*****

Registered: 09/26/06
Posts: 267
Yes See the documentation :-)

Use: PERFORM-ACTION-SAVE-ATTACHMENT <field_ID> [<file_name>]
save it to %temp% or /tmp
modify it
Use: PERFORM-ACTION-ADD-ATTACHMENT <field_ID> [<file_name>]

The field ID can be an attachment field or an attachment pool. If the field ID specified is an attachment field, the attachment is added to the specified field. If the field has a value, the existing value is overwritten.

- So don't give it the attachment pool ID but the attachment itself
_________________________
Mayhem, Chaos and Anarchy
My job here is complete!

Top
#138766 - 09/06/07 11:27 AM Re: Attachment Editing and Saving [Re: Shark_7-11]
darasta123 Offline
Stealth Member

Registered: 01/10/06
Posts: 19
Loc: Dallas, Texas
Thanks shark_7-11 for your suggestions. I was aware of PERFORM-ACTION-ADD-ATTACHMENT - but the PERFORM-ACTION-SAVE-ATTACHMENT still requires the user to go to the directory where the file is saved to open and edit.

Thanks again for the reply.

Suresh.

Top
#138857 - 09/19/07 09:39 AM Re: Attachment Editing and Saving [Re: Shark_7-11]
mazr_khan Offline
Stealth Member

Registered: 03/31/07
Posts: 22

when i use:

"Use: PERFORM-ACTION-SAVE-ATTACHMENT <field_ID> [<file_name>]"

Where do i specify the location where the attachment is to be saved.

I want to save it on the unix box on which remedy is installed

Top
#138861 - 09/20/07 12:51 AM Re: Attachment Editing and Saving [Re: mazr_khan]
mazr_khan Offline
Stealth Member

Registered: 03/31/07
Posts: 22
Hi,
My requirement is such that, when i recieve a mail with an attachment(.csv) the attachment should be saved to some location on the UNIX box.
This should be automated.
Could anyone please help me

Top
#138863 - 09/20/07 01:01 AM Re: Attachment Editing and Saving [Re: mazr_khan]
Vincent_RIEDWEG Offline

Old Hand
****

Registered: 05/24/05
Posts: 1454
Loc: France
You can do that by a filter on the AR System Email Attachment form.
_________________________
Vincent.

Top
#138864 - 09/20/07 01:35 AM Re: Attachment Editing and Saving [Re: Vincent_RIEDWEG]
mazr_khan Offline
Stealth Member

Registered: 03/31/07
Posts: 22
Filter does'nt seem to work,

Please chk my def
file
begin filter
name : OHS:MAZ
timestamp : 1190265983
owner : makhan
last-changed : makhan
filter-op : 6
enable : 1
filter-order : 500
wk-conn-type : 1
schema-name : AR System Email Attachments
export-version : 7
filter-query : 4\1\99\18133\2\4\9\Maddy.csv\
action {
command : PERFORM-ACTION-SAVE-ATTACHMENT 18003 "/home/groupit"
}
end


I cannot find anything in the folder

Top
#138865 - 09/20/07 01:49 AM Re: Attachment Editing and Saving [Re: mazr_khan]
Vincent_RIEDWEG Offline

Old Hand
****

Registered: 05/24/05
Posts: 1454
Loc: France
try with /home/groupit/yourfile.csv

\:\)
_________________________
Vincent.

Top
#138866 - 09/20/07 02:51 AM Re: Attachment Editing and Saving [Re: Vincent_RIEDWEG]
mazr_khan Offline
Stealth Member

Registered: 03/31/07
Posts: 22
Vincent,

Even this does'snt work
What should i do now

Top
#138867 - 09/20/07 03:13 AM Re: Attachment Editing and Saving [Re: mazr_khan]
mazr_khan Offline
Stealth Member

Registered: 03/31/07
Posts: 22
when i do a filter log i get the following error

/* Thu Sep 20 2007 09:09:42.0558 */ Restart of filter processing (phase 3)
0: Process
PERFORM-ACTION-SAVE-ATTACHMENT 18003 "/usr/ar/AREmail/supohs/Maddy.csv"
**** Error while performing filter action
/* Thu Sep 20 2007 09:09:42.0586 */ Stop filter processing
/* Thu Sep 20 2007 09:09:42.0665 */ Start filter processing

is there any problem with the location i specified.
What are the possible options for specifying the location

Top
#138868 - 09/20/07 06:44 AM Re: Attachment Editing and Saving [Re: Vincent_RIEDWEG]
mazr_khan Offline
Stealth Member

Registered: 03/31/07
Posts: 22
Hi Vincent,

Any clue on how to do this?

Top
Page 1 of 2 1 2 >