Upload files to BMC Remedy Mid-Tier -


i'm java developer, absolutely new in bmc remedy system, have 1 fast task solve.

our remedy use java applet upload files remedy browser ui ftp server. should replace javascript (upload files via http server side, upload ftp server).

in general web application, can add servlet, receive multipart file, connect ftp, upload , respond params. piece of cake. right way solve problem in remedy? i've read documentation , sort of plugins remedy mid-tier , there nothing simple servlets.

what right way solve task? source samples helpful.

thank you.

if doing via api, record id, , field id , this:

//first, retrieve form int[] fieldids = {1}; string formname = "my:form:name"; //request id. field id = 1. 14 chars long. string requestid = "00000000000001"; entry entry = arsconnection.getentry(formname, requestid, fieldids);  //add attachment attachmentvalue attachment = new attachmentvalue("name_of_file.ext", "path/to/file.ext"); entry.put(550000011, new value(attachment)); arsconnection.setentry(formname, newentry,null,0); 

to this, need request id. code using java api.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -