Skip to main content

Modify an Advertisement

1 reply [Last post]
ziwy
Offline
Joined: 2007-08-09
Points: 0

Hi, I'm such a newbie.

I need to publish my profile (nick, name, surname, mail, etc).
And I create a ProfileAdvertisement extends Advertisement.
So ok the Publish works.

But the question is... if i want to modify for example the mail...
What can i do?

If i search for that adv and i modify (setmail() ) does'nt work...
if i search, modify and republish it create another profile instead of modifyng the previous one.

Can someone help me?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jimbosi
Offline
Joined: 2007-06-14
Points: 0

I've never tried this but I'm guessing...

DiscoveryService.flushAdvertisement(yourPeskyAdvertisementThatYouHateSoMuch);

might allow you to remove the advertisement you want to get rid of.