on 03-24-2010 1:35 PM
Hello, expert
We want to user srcipt to get RFx owner Email Address in supplier resopnse page that supplir can send the emai to the RFx owner.
But I do not konw how to get it ,the API can only get the current user information.
Could your expert please provid a solution to us for it..
Thanks.....
I really didnt understand your question. I assume you are trying to retrieve the Email address of the owner in a script?
if that is the case. this should help.
import com.frictionless.api.common.platform.IapiAccountLocator;
ownerAccountRef=doc.getExtensionField("DOC_OWNER_USER").get();
owner=IapiAccountLocator.lookup(session,ownerAccountRef);
ownerEmail=owner.getEmail();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,immanuel farrar
Thanks for your reply.
We have got the Rfx owner email address following you approach..
Now we add a custom field in supplier response page of RFx, the field type is Text.
when supplier do the response for RFx, they can send private message to the manager of RFx using script.
when we send the message in english, it is Ok ,
but when we send the message in Chinese, the message content become question mark.
I try all the encoding solution , it does not do it's work.
*newMessage = new String(mailmessage.getBytes("ISO-8859-1"),"utf-8");_*
Do you have any suggestion about it?
Thanks..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.