Hello Chenna.
What i am suggesting to have a tabs in your Zen page. and Each Tab will open a iFrame which have Dashboward URL embedded to it respective to namespace.
- Log in to post comments
Hello Chenna.
What i am suggesting to have a tabs in your Zen page. and Each Tab will open a iFrame which have Dashboward URL embedded to it respective to namespace.
Sure, will do that next time
I have updated my previous comment
Have you used USE command?
https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KE…
Hey Bob,
Sorry for delay in response as I was not working today.
Can you please share the code of wrapper you have written.
USE command should share the device.
Regards
Sourabh
That's great!!!!
Hello Baseem,
The status of message is stored in message header, not in message body.
So, you need to use message header to get message body ID, and create a separate object from message body and add to the response of your Webservice.
If you want, I can help you in development of this piece of logic.
Regards,
Sourabh
https://www.linkedin.com/in/sourabh-sethi-57274b32
Available for remote work
Hello @Evgeny Shvarov
Hope you are doing good.
The video in my LinkedIn Profile is already posted in DC.
Regards
Sourabh
Ok Evgeny,
From next time I will post in GitHub.
My next video is in process currently.
Regards
Sourabh
Thank you for your response.
I dont see any way to attach documents here. You can send your email id and I will send over there.
My email ID - sethisourabh.hit@gmail.com
Regards,
Sourabh
Do I need the code set for this session in open exchange?
DONE
Can you elaborate this?
EnsLib.RecordMap.RecordMap is a RegisteredObject
inorder to pass a object to BusinessOperation, it should be an object Ens.Request.
You can load a darshboard inside a ZEN page using iFrame
/// pStr - Complete string that require to split
/// pByLen - Length you want in each part
/// arrObx - passed by reference to store each OBx in array
ClassMethod SplitByLen(pStr As %String, pByLen As %Integer, ByRef arrObx) As %Status
{
Set (startPos,obxCntr)=0
for
{
Quit:'(startPos < $L(pStr))
Set arrObx($I(obxCntr)) = $E(pStr,$I(startPos),startPos+pByLen-1)
Set startPos = startPos + pByLen
}
Quit $$$OK
}
Create a wrapper, which will OPEN a FILE, and USE it.
Then call your program from the wrapper.
Then close ur file.
I guess this should force to write in file if the earlier program is writing in terminal.
Hi Jimmy,
For such scenario, we should $$$Trace.
We can covert HTTP request to string and pass it in trace. $$$Trace can take string or anything inherited from ens.message.
In Production, in the corresponding Business Operation, find Enable trace setting.
Then for next transaction, you can see the httprequest in trace.
Don't forget to disable the trace option once you are done, as we should try this only for debugging purpose.
Regards
Sourabh
Hi Basem,
Yes, you can do that, but you need to make sure that you do not change anything in original Message Header. You should only use message header to retrieve message body.
Status, sessions etc are stored in message header, with message body class name and message body ID.
So in Ensemble, you can create a Webservices which will accept request. And request may contain message body class name, source and Target. Now you will query in Ens.MessageHeader with this params and get message body IDs, and you already know class name. From message body IDs you can get all the messages and can construct a response for your Webservice.
Your Vendor can call this Webservice, whenever he wants to PULL all the details of queued up messages.
I understand, a bit of coding involved doing this, but this how I think you can achieve the requirements.
Please let me know if you find any better way doing so.
Regards,
Sourabh
Hi Eduard,
I don't think you can do this in onProcessInput but when the corresponding job dies, it will definitely call onTearDown.
So you can try overriding this method to execute something when Business Service is shut down.
I never tried this, but I think this should work.
Regards,
Sourabh
Retry Interval- No. Of seconds a business operation job wait before doing next retry
FailureTimeOut - Total no. Of seconds a business operation Job keeps trying connecting destination.
We should keep this always greater that retry Interval.
ConnectTimeOut -
In case of FTP, a business operation job tries to connect FTP server till ConnectTimeOut for each attempt.
In case of TCP, a business operation job tries to connect to remote TCP listener till ConnectTimeOut for each attempt.
Ideally this has nothing to do with retry Interval, but we should take a logical call while setting this value and keep always less than FailureTimeOut.
No. Of reties may depend on the combination of these three values.
You can THROW or set any error while Quitting,
Both should disable, if E=D.
One quick question - have you restarted you operation after putting this Logic.. The code changes will only be effective only after operation is linked to new JOB.
You can also, try debugging your code attaching corresponding job of operation in studio.. there is no reason this should not work.
I think shortest one will be :
USER>f i=1:1:100 w !,$S(('(i#3)&'(i#5)):"FizzBuzz",'(i#3):"Fizz",'(i#5):"Buzz",1:i)
1
2
Fizz
4
Buzz
Fizz
7
8
Fizz
Buzz
11
Fizz
13
14
FizzBuzz
16
17
Fizz
19
Buzz
Fizz
22
23
Fizz
Buzz
26
Fizz
28
29
FizzBuzz
31
32
Fizz
34
Buzz
Fizz
37
38
Fizz
Buzz
41
Fizz
43
44
FizzBuzz
46
47
Fizz
49
Buzz
Fizz
52
53
Fizz
Buzz
56
Fizz
58
59
FizzBuzz
61
62
Fizz
64
Buzz
Fizz
67
68
Fizz
Buzz
71
Fizz
73
74
FizzBuzz
76
77
Fizz
79
Buzz
Fizz
82
83
Fizz
Buzz
86
Fizz
88
89
FizzBuzz
91
92
Fizz
94
Buzz
Fizz
97
98
Fizz
Buzz
USER>
I guess following article might be helpful for you:
https://community.intersystems.com/post/using-oauth2-soap-webservices
You can try $$$URLENCODE the complete url.
you can call your classmethod directly calling from terminal by passing desired parameters via terminal.
And then attaching the jobid of terminal in studio.
You can open your page in Chrome and then using developers Tool, you can see that ZEN page randomly assigns the ID to Components.
So best way to use zen(<ComponentID>).getValue() or setValue() for getting and setting the value.
.png)
A web application is a computer program that utilizes web browsers and web technology to perform tasks over the Internet. When your web technology is ZEN then it will called ZEN Application. A Zen Application can be comprises of single or multiple ZEN Pages.
When you want to interact with Client Components like text box value / its style etc, you should use Client Method.
When you want to interact with Server Component like saving the value in GLOBAL, you should use Server Method.
For better understanding you should understand Two Tier Architecture
EnsLib.RecordMap.RecordMap is a RegisteredObject
inorder to pass a object to BusinessOperation, it should be an object Ens.Request.