Hi all,
As part of my requirment i need to open my task templeate form by using sbo. Is there any way to open a form by using sbo. the form which i want open, i created by using forms buider.
Thanks
Raju.P
What do you mean by open? Do you want to get the content and manipulate it or get it and have it display in a user interface of some sort.
If it's the second then just use the UI you are using such as Webtop or Taskspace
HI Andy,
Thanks for your reply. as part of my requirment, in taskspace i have a form in that form i have one button if i click on that button it is calling sbo. in that sbo based on some conditions i need to display two forms. the forms which i want to display i created by using forms builder. here opeing the form means display the form to user.
Raju
What you will need to do is have the SBO return the information about the form you need to display such that it get's returned to the calling form and the calling form, as part of the button click, can then display the required form.
The SBO will be server side code with no knowledge of the user interface environment you are running within.
Been a while since I have used taskspace so i can't recall what exactly you can do with buttons, but it might be worth looking at the xPC patterns area to see if anything similar is in there.
Hi Andy,
Thanks for your reply. my requirment is when i click on button i need to do scan. To perform scan am writing code in sbo. but the problem is the scanned image i need to display in same form where i cick the button.
Hi Raju,
First I need answer to few of my questions
1) The button logic, is that a part of your task template form
2) In task template form you already have attached viewer embedded, so why same form scanned on the SBO code needs to be displayed
Coming to you question of invoking SBO throught button. I hope you are using Invoke Button. Based on the result which you get back from the SBO, try launch a component using setComponent method. This will result in opening of the required form you need.
Let me know if you need any further help.It will be better if you can clearly mention the exact requirement.
Aninda
Hi KarAninda,
Thanks for u'r replay. my exact requirment is when i click on one button i need to do sccanning the document which is there in my scanner machine. for this am writing code in sbo. the problem is i need to display the scanned document in same form where am clicking the button(to perform scan).
Raju.p