Infopath and Alert

M

MCC

Hello,
I have to create a workflow application with SharePoint and Infopath.
I would like to know if it is possible to create alert with Infopath.

For instance, the user click on a button on the infopath form and with
vbscript code, a alert can be created.
I'm new in infopath world.
thanks in advance
MCC
 
M

Michelle

Sharepoint has an Alerts webservice, but it doesn't look like you can use it
to add alerts. You will probably have to write your own webservice accessing
Sharepoint's OM (object model) and then call the webservice from InfoPath.

You should get more help on writing the Sharepoint webservice if you submit
your question to the sharepoint newsgroup.

MCC said:
thanks for you answer.
But I wasn't clear. I was talking about a sharepoint alert.

Greg Collins said:
In you script, use:

XDocument.UI.Alert("My alert text goes here.")

--
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com



Hello,
I have to create a workflow application with SharePoint and Infopath.
I would like to know if it is possible to create alert with Infopath.

For instance, the user click on a button on the infopath form and with
vbscript code, a alert can be created.
I'm new in infopath world.
thanks in advance
MCC
 
M

MCC

i did it. I had the answer. Thanks for your help
MCC

Michelle said:
Sharepoint has an Alerts webservice, but it doesn't look like you can use it
to add alerts. You will probably have to write your own webservice accessing
Sharepoint's OM (object model) and then call the webservice from InfoPath.

You should get more help on writing the Sharepoint webservice if you submit
your question to the sharepoint newsgroup.

MCC said:
thanks for you answer.
But I wasn't clear. I was talking about a sharepoint alert.

Greg Collins said:
In you script, use:

XDocument.UI.Alert("My alert text goes here.")

--
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com



Hello,
I have to create a workflow application with SharePoint and Infopath.
I would like to know if it is possible to create alert with Infopath.

For instance, the user click on a button on the infopath form and with
vbscript code, a alert can be created.
I'm new in infopath world.
thanks in advance
MCC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top