Académique Documents
Professionnel Documents
Culture Documents
Communities
Products
Market Topics
bmc.com
Partners
User Groups
Customer Programs
BMC.com > All Places > Products > BMC Atrium >
BMC Remedy AR System > Discussions
Social Help
BMC Social
YouTube Channel
search bmc.com
BMC Podcasts
5575 Views
Tags:
Look at javadocs on ARServerUser.getEntryBLOB and ARServerUser.createEntry methods. Also look into JavaDriver sample source code to see
the usage snippets.
Appajee
Like (0)
i can get file contents from attachment field with getEntryBLOB, but createEntry doesn't have a method to insert contents files.
Like (0)
Entry entry = getentry(aruser); // this does a query for the entry that is going to be modified.
try
https://communities.bmc.com/message/84222#84222
1/4
10/15/2014
Like (0)
John,
Thanks for answering my question!!!
I tested your code on my project and I have a problem. In JAVA API 7.1 Constants.FIELD_ID_CSV_ATTACHMENT doesn't exists.
Do you know a similar Constants?
Tkssssss a lot !!!!
Like (0)
Yeah.... hmmm.. This code is from the up comming 7.5 release. Sorry. So it might not work with the older java apis. There might not be an
equivilent. I will try to find an equivilent.
John
Like (0)
Hi,
you should add attachment object to the Entry object in order to create an entry with attachment.
I have a sample for ARS 7.1 API but, of course, you need to code it better.
Try with following lines (they are just an example):
https://communities.bmc.com/message/84222#84222
2/4
10/15/2014
Like (0)
Like (0)
While creating/modifying entry, you can set a field value to a specifc attachment value right then, just as you assign any other field values.
Look at AttachmentValue class. Only the retrieval is a two step process (getEntry then getEntryBLOB).
Appajee
Like (0)
Should just clarify that if you want to associate the attachment with an existing ticket, you should use the setEntry() call rather than
createEntry()
Like (0)
Find People
Support Login
Community Help
Worldwide
About BMC
BMC.com
https://communities.bmc.com/message/84222#84222
Google +
New
3/4
10/15/2014
https://communities.bmc.com/message/84222#84222
4/4