Very simple. Use submit = true
e.g.
wavelet = robot.newWave("wavesandbox.com",participantList, *submit=True*);
wavelet.setTitle("Title");
Blip rootBlip = wavelet.getRootBlip();
rootBlip.append("Content of the wave");
robot.submit(wavelet, "http://sandbox.gmodules.com/api/rpc");
LOG.severe("Wave Id = " + *wavelet.wave_id*);On 23 April 2010 16:15, RAVINDER MAAN <[email protected]> wrote: > Hello All > I am creating a new wave by using Active Robot API by using following > code. > > Wavelet wavelet = robot.newWave("wavesandbox.com",participantList); > wavelet.setTitle("Title"); > Blip rootBlip = wavelet.getRootBlip(); > rootBlip.append("Content of the wave"); > robot.submit(wavelet, "http://sandbox.gmodules.com/api/rpc"); > LOG.severe("Wave Id = " +wavelet.getWaveId().getId()); > > After creating wave i want to find out its waveId.But when i try > to get its waveid as u can see i am trying to log waveid of new wave > it doesn`t log actual wave id instead it logs id`s like "Wave Id = > TBD_-1968122361" .I know how to get wave id of new wave in previous > API.Can anybody tell me how to get waveId of new wave through recent > version 2 API. I want to store the waveId in database for future use. > Thanks In advance. > > -- > You received this message because you are subscribed to the Google Groups > "Google Wave API" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-wave-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-wave-api?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Wave API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-wave-api?hl=en.
