Great. Thank you both.
I will do this next time.
- Backup class
- Drop table
- Reimport table
Best Regards,
Joao
- Log in to post comments
Great. Thank you both.
I will do this next time.
- Backup class
- Drop table
- Reimport table
Best Regards,
Joao
That's not ideal for me a I would have to drop the table first.
Thank you Robert. That has worked.
In case someone would like to add the Mirror Monitor to the app I managed to do it using the following:
s rs = ##class(%ResultSet).%New()
s rs.ClassName="SYS.Mirror"
s rs.QueryName = "MemberStatusList"
d rs.Execute("MIRRORNAME")
s arrayMessage = []
While rs.%Next() {
s obj = {}
DO obj.%Set("MirrorMemberName", rs.GetData(1))
DO obj.%Set("CurrentRole", rs.GetData(2))
DO obj.%Set("CurrentStatus", rs.GetData(3))
Do arrayMessage.%Push(obj)
}
Hi @Joan Cruz
Can you tell me how you managed to get the information?
I am trying to do something similar but to show the information in a CSP page.
Best Regards,
Joao Palma
Thank you, Henrique.
I've had a look at it yesterday. The whole project is very well structured.
Well done again for it.
I'm creating another page rather than adding in more stuff to the dashboard as I don't want to fill it more.
Then using a new classmethod and javascript as you've said I'm going to get the properties out of %SYSTEM.Mirror I think.
That is the bit I am not completely sure about. But I will eventually get there.
Kind Regards,
Joao Palma
Hi Henrique.
This is very nice. I started using this at work and I was wondering if it would be too complicated to add a Mirror Monitor Widget to the CSP page.
Could you give me any clues?
Kind Regards.
P.S.: Obrigado.
I use a similar approach but in a routine file.
So, I just have an include at the top and then I do
$$$TryCatch
...
$$$TryEnd
Hi Dinesh
I'm not sure whether you still need help with this.
In summary what you need to do is to create a message of your own and then pass that string as a message property and do something like
Set request.StringValue="test"
Set tSC = ..SendRequest( "Tutorial.ExampleOperation" ,request)
That would be nice to have Guilherme :)
Thank you Robert.
Ended up adding a dummy property to Ping with a default value and XMLPROJECTION = "Attribute" as "None" would error.
Thank you Robert.
I've tried that before and it didn't work though.
This is what I've tried:
pRequest As Conexes.Request.PingRequest
with Property parameters As Conexes.tns.Ping;
----------------------------------
Conexes.tns.Ping :
Parameter ELEMENTQUALIFIED = 1;
Parameter NAMESPACE = "mynamespace";
Parameter XMLNAME = "Ping";
Parameter XMLSEQUENCE = 1;
Parameter XMLPREFIX = "ns";
Parameter XMLIGNORENULL = 0;
Parameter XMLNIL = 1;
-----
Set tSC = ..Adapter.InvokeMethod("Ping",.pOutput, pRequest.parameters)
Found out on my own...
I had enabled HTTP Trace on the WebGateway and I'd completely forgotten about it...
Could it be IIS? This environment runs on IIS.
I've seen that option now.
It does show up in some files but not with classes for me.
Thanks anyway. :-)
I see. You have Iris for Health I suppose.
We have HealthConnect. It's a Different destribution.
Thank you.
Windows. Are you able to attach a screenshot to show what you mean so I can find it here?
2019.1
My studio does not have that option.
Hi Laura
Did you get your answer? I know one has nearly past... I may be able to help you out if you still need it.
Hi Paul.
I would like to have a look into that package is it possible to send it to me?
Kind Regards,
Joao Palma
Hi Paul.
I would like to have a look into that package is it possible to send it to me?
Kind Regards,
Joao Palma
To add up so we can help someone else...
This is what I really needed for this to work
Set reader = ##class(%XML.Reader).%New()
Set status = reader.OpenString(messagedata)
Do reader.Rewind()
If $$$ISERR(status) {do $System.Status.DisplayError(status)}
// Associate a class name with the XML element name
Do reader.Correlate("MIU","Message.Request")
This helped
write $TR(myfile,$c(13,10,9,32))
Thanks very much
<Oceano>
<Header>
<DataSource>Oceano</DataSource>
<DataType>EDAttendance</DataType>
</Header>
<Body>
<MIU>
<Department>BCH</Department>
<TotalNumber>6</TotalNumber>
<NumberWaitingToBeSeen/>
<LongestWaitMin/>
</MIU>
<MIU>
<Department>BOS</Department>
<TotalNumber>1</TotalNumber>
<NumberWaitingToBeSeen>1</NumberWaitingToBeSeen>
<LongestWaitMin>109293</LongestWaitMin>
</MIU>
</Body>
</Oceano>
Hope this helps
That's correct Robert. Althougth, I always get the following error for the parse
comment or processing instruction expected while processing Anonymous Stream at line 1 offset
Sorry I did not get back to you.
It did not work so I opted for a Code activity in the Business process and do
Set context.myvar = request.GetValueAt("/root/mynode")
Hi guys
I'm trying something similar to this. I am call a bpl from another bpl.
When I do a trace for a context variable in the second bpl it shows up as empty.
I've also set the context super class in the 2nd bpl to be the context of the first one. I can see the context properties in the 2nd one in settings but they don't seem to be passed over.
How can I get the context of the main bpl?
Hope this makes sense...
Regards
That's brilliant. Thank you very much.
Thank you Tani.
The issue here is Ensemble does not retroactively index messages that were received before you added the search table class.
I need some information from the Past. I must create a report on the XML received messages since April based on one of the xml nodes values which distinguishes the document types.