Send ratings to online System

Hi!
I'm a webdeveloper.
Till now I had no contact w Bridge but I have a client who is photograher.
I'm designing a tool for him to administrate his orders etc..
We are looking for a solution to get rated images into my online tool.
What I'm thinking of is to use the rating function of Bridge.
It should work like that:
He is selecting images using the rating function.
Perfect would be if bridge can call a weblink when rating every image.
The Link should contain the image data as variables, like that:
http://pos.domain.com?order=[dirname]&file=[filename]&rating=[rating]
dirname = Name of directory
filename = Name of rated image
rating = Rating
Would be thankful for any input.
Cheers Philipp

I have nothing to test this with, but worth a try. Should send details of selected documents. "Send Ratings" command will be in the right click menu.
#target bridge
   if( BridgeTalk.appName == "bridge" ) { 
sendRating = new MenuElement("command", "Send Ratings", "at the end of Thumbnail");
sendRating.onSelect = function () {
   sendData();
function sendData(){
var sels = app.document.selections; 
for (var i = 0; i < sels.length; i++){
var md = sels[i].synchronousMetadata;
    md.namespace = "http://ns.adobe.com/xap/1.0/"
httpGet("http://pos.domain.com?order=["+sels[i].spec +"]&file=["+sels[i].name +"]&rating=[" +md.Rating+"]");
function httpGet(url, port){
   if(url.substr(0,7)=="http://") url=url.substr(7); // removing http:// from domain
   if(!port) port=80; // set to default port if missing
   var domain=url.split("/")[0]+":"+port;
   var call="GET ";
   if(url.indexOf("/")<0){
      call+="/";
   }else{
      call+=url.substr(url.indexOf("/"));
   call+=" HTTP/1.0\n\n";
   var reply = new String();
   var conn = new Socket();
   if (conn.open (domain)) {
      conn.write (call);
      reply = String(conn.read(999999));
      reply = reply.substr(reply.indexOf("\n\n")+2); // Removing header
      conn.close();
   }else{
      alert("CONNECTION TO DATABASE FAILED");
      reply = "";
   return reply;

Similar Messages

  • Can you please help me down grade my system from 4.0 to 3.5 for school- 4.0 is not support by my schools online system, if I had known this I would not have upgraded.

    Since, I have moved from 3.5 to 4.0 this version is not supported by my schools online systems- so anytime there is an issue, they're unable to help? Is there anyway for me to downgrade back to 3.5. I'm already experiencing difficulties, even entering the system!!
    I really do NOT want to go back to IE, please help me downgrade back to 3.5 so I can stay with you guys.
    Thank you for your help!
    Sincerely,
    Lindsay Walton

    Please click the '''Helpful''' button next to the answer that solved your Firefox support issue, '''when you are logged in''', so this thread gets marked as '''Solved'''.

  • SENDING MAIL TO ANOTHER SYSTEM IN INTRANET BY USING SMTP

    hi
    i am able to send simple smtp messages within the single localhost but i am not able to send it to another system ,plz help me .i also need to get the reply from that system since i am the server. i am using jsp code.
    i have enclosed the code
    mail.jsp
    <%@ page language="java" import="javax.naming.*,java.io.*,javax.mail.*,
    javax.mail.internet.*,com.sun.mail.smtp.*"%>
    <html>
    <head>
    <title>Mail Send:Defect Tracking System</title>
    </head>
    <body>
    <%
    try{
      Session mailSession = Session.getInstance(System.getProperties());
      Transport transport = new SMTPTransport(mailSession,new URLName("cl301"));
      transport.connect("cl301",25,null,null);
      MimeMessage m = new MimeMessage(mailSession);
      m.setFrom(new InternetAddress(%><%request.getParameter("from")%><%));
      Address[] toAddr = new InternetAddress[] {
                  new InternetAddress(%><%request.getParameter("to")%><%)
      m.setRecipients(javax.mail.Message.RecipientType.TO, toAddr );
      m.setSubject(%><%request.getParameter("subject")%><%);
      m.setSentDate(new java.util.Date());
      m.setContent(%><%request.getParameter("description")%><%, "text/plain");
      transport.sendMessage(m,m.getAllRecipients());
      transport.close();
      out.println("Mail Send!");
    response.sendRedirect("Login.jsp");
    catch(Exception e){
      out.println(e.getMessage());
      e.printStackTrace();
    %>
    </body>
    </html> mailApi.jsp
    <%@ include file="TemplateObj.jsp" %>
    <%@ include file="Common.jsp" %>
    <%!
    %>
    <html>
    <head>
    <title>Mail:Defect Tracking System</title>
    </head>
    <link rel="stylesheet" href="style/stylesheet.css" type="text/css">
    <body>
    <table>
    <tr><td><img src="images/header.gif"</td></tr></table>
    <br>
    <table align="right">
    <tr><td><img src="images/bug_chick.gif"></td></tr></table>
    </p>
    </form>
    </td>
    </tr>
    </table>
    <table border="1" width="50%" cellpadding="0" cellspacing="0">
    <tr>
    <td width="100%">
    <form method="POST" action="mail.jsp">
    <table border="1" width="100%" cellpadding="0" cellspacing="0">
    <h1>Send Bug Mail</h1>
    <tr>
    <td width="50%"><b>To:</b></td>
    <td width="50%"><input type="text" name="to" size="30"></td>
    </tr>
    <tr>
    <td width="50%"><b>From:</b></td>
    <td width="50%"><input type="text" name="from" size="30"></td>
    </tr>
    <tr>
    <td width="50%"><b>Subject:</b></td>
    <td width="50%"><input type="text" name="subject" size="30"></td>
    </tr>
    <tr>
    <td width="50%"><b>Description:</b></td>
    <td width="50%"><textarea name="description" type="text"
    cols="40" rows="15" size=100>
    </textarea>
    </td>
    </tr>
    <tr>
    <td><p><input type="submit" value="Send Mail" name="sendMail"></td>
    </tr>
    </table>
    </body>
    </html>

    do NOT use JSP for anything except presentation of data, NEVER use it for anything else.
    If you need Java code inside a JSP, it shouldn't be a JSP.
    What makes you think you can't send mail to another server?
    What errors are you getting (I can guess, and I have 2 very strong contenders for the title, but I can't be sure)?
    To find out what replies a mailserver can give, read the relevant RFCs. Of course if you close the connection without waiting for (let alone handling) those responses you're never going to see them.

  • Send IDoc from External System to SAP system

    Hi Folks,
        I have a requirement to send IDocs from an external system to the SAp system. Basically the external system is a subsystem which is able to send & receive idocs. The external system is currently able to send idocs to SAP system through the ALE layer but now we have to replace it by PI. Now the external system has to send teh IDocs to the SAP ECC system through the SAP PI 7.0.
       Kindly let me knowq how I can achieve it.
    Regards,
      Santosh

    Hi Satish,
    You can achieve this requirement
    1)If your external system going to support web service cals then send IDoc from External system as a web service, in PI use sender side SOAP and receiver side IDoc receiver channel  to  send IDoc.
    or
    2)Use proxy program ,implement the same ALE logic in PI.
      or
    3)Copy the Extenal IDoc message in to file folder as XML,then use file adapter to pick up this message and send it SAP using IDoc.
    Regards,
    raj

  • I am trying to upload a pdf i created to an online system but am getting an error message indicating that my document is not formatted to 8.5x11. How can i get my document to 8.5x11

    I am trying to upload a pdf i created to an online system but am getting an error message indicating that my document is not formatted to 8.5x11. How can i get my document to 8.5x11

    You'll want to fix this via the online system you used to create the PDF.
    If all content mastering and page configuration is done online then that is where you must make a correction to what you did before.
    If a file is uploaded to the online system for processing then you must revisit that file.
    Open the file with its native application and correct page size there.
    If you upload a scanned image to the online system you must configure the scanner software to output the needed page size.
    Be well...

  • Filt to IDoc: cannot convert sender to ALE logical system

    Hi there,
    i have used forum search for my issue, but could not figure out the issue by myself so far.
    I tried to read a file into PI 7.0, map to and IDoc and send IDoc to SAP system. I have the following configuration:
    Sender: SYSTEM_A
    ---Logical System <none>
    Receiver: SYSTEM_B
    ---Logical System: EIECLNT300
    the IDoc i'm sending looks like this (most of them dummy values):
    <?xml version="1.0" encoding="UTF-8"?>
    <ORDERS05>
    <IDOC BEGIN="value2">
    ---<EDI_DC40 SEGMENT="value2">
    <TABNAM>value2</TABNAM>
    <DIRECT>value2</DIRECT>
    <IDOCTYP>value2</IDOCTYP>
    <MESTYP>value2</MESTYP>
    <SNDPOR>EIECLNT300</SNDPOR>
    <SNDPRT>value2</SNDPRT>
    <SNDPRN>PITCLNT001</SNDPRN>
    <RCVPOR>value2</RCVPOR>
    <RCVPRN>EIECLNT300</RCVPRN>
    ---</EDI_DC40>
    ---<E1EDK01 SEGMENT="value2">
    ---</E1EDK01>
    </IDOC>
    </ORDERS05>
    PITCLNT001 is the logical System name of PI. Do i need to configure "PITCLNT001" as logical system at SYSTEM_A (besides, thats not possile)?
    regards,
    MS
    Edited by: Manuel Schlestein on Jan 28, 2009 10:39 AM
    Edited by: Manuel Schlestein on Jan 28, 2009 10:40 AM

    Hi
    Create a logical system for SYSTEM_A in SLD (you can give some string) and create that same logical
    system in IDOC side (SALE).
    Thanks
    Prasad Nemalikanti

  • QRFC/TRFC for sending idocs from SAP system to XI

    Hi experts,
    The standard program RFFOEDI1 generates payment orders - first PEXR2002 and then EUPEXR idocs. These idocs are to be sent to the bank from SAP through XI. Bank partner profile is maintained. But these idocs because of TRFC are not getting sent in the order in which they are generated by the SAP system. So I changed the bank partner profile settings from TRFC to QRFC and gave the rule name as first 16 of mes type. But the idocs are struck in the SAP system. Is there any standard program to be run to send the idocs out from SAP system or is it automatic.
    Please suggest a standard method which is to be followed to send the idocs in the same order in which they are getting generated for the scenairo above.
    Regards,
    Asha

    Hi Asha,
    As you said Idocs are stucking,
    To send Idocs to XI, you must have maintain some settings in XI to receive Idocs. Once they are done properly .in R3 side standard way to send idocs to XI is Maintaining<b> <i>Change Pointers</i></b> and shedule the programe to trigger that most of Standard idocs will have standard programs to catch change pointers and send them to external system.
    and to maintain the same order of idocs there is a setting called Quality Of Service in XI side ,that option should be set to Exactly Once In Order .
    Regards,
    Ramesh.

  • How to send idocs across SAP  systems in same network

    Hello
    I wander how to send idocs across SAP  systems in same network

    Hi Jan Bo,
        please check the below link
    http://help.sap.com/saphelp_nw04s/helpdata/en/dc/6b7f3c43d711d1893e0000e8323c4f/frameset.htm
    please write if you want more detailes.
    Regards,
    S.Manu.

  • How to send photo to PI system using IDOC

    Hi All,
    We have uploaded employee photos in our HR system and we can see them in pa20.We would like to send them to PI system using IDOC.Please let me know how we can do that
    Thanks
    Bala Duvvuri

    Hi,
    there is no possibility of sending images in Idoc to any other system.
    your requirement might be sending the photos of employee to some some other ssytem Via PI.
    PI can pick the images from your R3 Via FTP and can route it to the target system.
    Suresh

  • What are ways to transfer data from online system to SAP

    Hi all,
    We have a requirement to transfer data from an online system (Non SAP) to SAP.
    What are all the possible ways to  do that and which one is preferred?
    Thanks!
    Rahul.

    Dear
    for transferring data from online system to SAP there are different ways follow this links
    http://searchsap.techtarget.com/answer/Using-IDocs-to-connect-a-non-SAP-system-to-an-SAP-R-3-system-online
    https://help.sap.com/saphelp_nw70ehp1/helpdata/en/c7/eff2280d0511d3a6300060087832f8/content.htm
    Regards

  • How to trigger sender rfc from r3 system

    Hi experts,
    can any body send  documents about " how to trigger sender rfc from r3 system"
    regards
    sandeep.

    HI Sandeep,
    To send RFC data on timely basis you can schedule the programs.
    In Partner Profile use setting collect program. Use program RSEOUT00 to send data at particular time.
    You can schedule the report RSEOUT00 according to your requirements. So it flushes all the idocs in the background as per your schedule this program.
    Plese refer the below thread, it will help you.
    Re: Triggering Idocs from sender  side
    Idoc triggering from a transaction
    Cheers..
    Vasu
    <i>** Reward Points if found useful **</i>

  • Consistent backup of online system (NOARCIVE mode)

    Hi
    Is there anyway I can make consistent backup of online system running in NOARCIVE mode?
    Wishes
    Jawad

    There's only one kind of backup possible, if a database is running in noarchivelog mode, it's a cold backup, i.e. the database is down. In the past some people said an export with option 'consistent=y' is a consistent backup, but that's no longer the state of the art.

  • Sending mail to external system in sap 4.6c

    Hi WF experts,
    We are configuring sending mails to external system in sap4.6c.
    sxdump20.exe is kept on the frontend and created RFC destination with path to sxdump20.exe.
    same RFC destination is given while configuring in SCOT trxn.
    From SAP, mails are successfully sent and getting message in SOST as delivered to recipent.
    But recipent is not receiving mails in his inbox ( outlook express,gmail,hotmail etc ).
    Any solution from you will be of great help.
    simha

    Hi,
    Make sure that the mail sent from SAP 4.6C are not declared as "Bad Mails" at your Mail Server/SMTP Gateways, possibly due to some technical reason. (such as sender address is not correct, any other SMTP errors,  etc...etc.).
    Ask your network/system admin to verify it.
    Regards,
    Bhavik G. Shroff

  • Sending emails from SAP system

    Hai everybody,
    for sending emails from SAP system , what are all the configuration we have to made & what are all the cheks we have to perform at BASIS level .
    Pl guide me.
    Ramesh

    Hi,
    Configurations need to be done with Tcode : SCOT
    and RFC need to be established using SM59.
    SO_NEW_DOCUMENT_ATT_SEND_API1 is the Function Module used for sending Emails from SAP System.
    The Email ID's are maintained in XK02 , XD02 For Vendors and Customers in the Basic Data.
    You need to write the code to fetch the ID's from the Vendor Master dataor customer master data based on the Vendor/Customer Numbers.
    You can always monitor the Emails in SOST.
    This is all you need to do.

  • Online systems configured for newbies to experiment

    Why does SDN not have online systems configured for newbies to experiment online.
    Will this pose too much of an administrative task? with the skills available in this forum it should not be a problem.
    or is it a question of making profit through the training academies which are not affordable to individuals not backed by their companies to learn on the technology?

    An interesting thought, however with so many users we would need a server farm of test systems to handle it.  And with users wanting to try so many different things it would be rather difficult to maintain the servers and have some sort of schedule for maintenance, resets, etc.

Maybe you are looking for