cancel
Showing results for 
Search instead for 
Did you mean: 

SF_UPLOAD

Former Member
0 Kudos

Hi,

I am getting error in this line of code

wdComponentAPI.getMessageManager().reportMessage(

IMessageUpDownload.SF_UPLOAD,

new Object[]{res.getResourceName()},false);

what might be the error.

Giving IMessageUpDownload.SF_UPLOAD cannot be resolved..

Regards,

H.V.Swathi

Edited by: H.V Swathi on Nov 5, 2008 10:06 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Swathi,

Are you sure that "UpDownload" is the name of your component. Because the format for this is IMessage<Component Name>. Did you create the message in the messagePool with the ID SF_UPLOAD?

If all these are ok then rebuild your project and then try again.

Hope it helps.

Cheers,

Manoj

Former Member
0 Kudos

How to create ID in messagePool.

Component name is correct.

Former Member
0 Kudos

Hi,

Double click on the message pool.

In the message editor you will see a + button click on this

Provide the following details

Key->SF_UPLOAD

Type->Success( if needed change this )

Text->Test.

Now if your component name is UpDownload use as follows

IMessageUpDownload.SF_UPLOAD to access the message "Test" using the key.

Regards

Ayyapparaj

Former Member
0 Kudos

I have entered that key in message pool .

But type success is not there.

I tried it for type value to "error".And to all value in dropdown even then i am not getting the same error.

Regards,

H.V.Swathi

Former Member
0 Kudos

Thanks...

U helped me to solve that error.

Regards,

H.V.Swathi

Answers (1)

Answers (1)

former_member192434
Active Contributor
0 Kudos

Hi

It seems that it is unable to reconized "IMessageUpDownload"

Can you explain more

Thanks