Status message thingworx - iot

I create a ThingWorx Project,i use a message box,When a status message appears, it waits 7 seconds and then disappears, if during this time a new message come, status box shows new message and old message together.i want that,it always shows only the new message.

Before thingworx 8.3 you can use JQuery and somehow hide that message but you cannot use JQuery for new versions. You can refer to Create An Extension for Thingworx guide and try to edit extension.

Related

InfluxDB deadman alert disappears from list, but is not deleted

I have created several deadman alerts and noticed that the last 10 alerts disappeared at once from the alerts list.
The alerts are still active, as the alert notifications are being sent, as configured. In the alert history you can see the triggered alerts, but there is no link to the configurations.
I noticed that when I created an alert with an existing name, an error popped up
(Failed to create check: A check named "test" already exists. Please rename the check before saving) and afterwards the alert disappeared from the list, but was still active as described above.
Is there a way I can see/delete all alerts in the influx client?
What could be the reasons for this problem?
Is it an issue caused by the renaming-overwriting of an alert?
Is there a maximum of alerts in the InfluxDB OSS?
I had the same problem on the influx 2.3 and 2.5 version.
Thanks for any help in advance
So I found out that they only visibly disappear as there must be something like a limit for "shown" alerts. When I started deleting other alerts, the missing alerts started reappearing...

How to control upload extension initiated from controller center?

I implemented upload extension and setup RTMP server for broadcasting via upload extension. The broadcasting is initiated from control center, not through SetupUI extension. Since the SampleHandler.m doesn't provide RPBroadcastController, I can't programmatically pause or stop the broadcasting. I'd like to at least stop the broadcasting and show error message that the server is not available. I've looking through all WWDC docs, but couldn't find much info. Mobcrush is showing error message like "Not logged in", how they do that?
I found a mistakes in my code, finishBroadcastWithError function should call [super finishBroadcastWithError:] to call RPBroadcastController to stop broadcasting and show proper error message. You don't need to access RPBroadcastController nor need SetupUI to controller broadcast. That was it, I wasted 2 days on this, I wish no one do that.

Firebase push conversion event

We have a app with 3 different flavours. We set them up to use firebase notifications with one project per flavour. So 3 apps from the same codebase each one with there own firebase project.
We also added a custom event that we enabled for conversion.
For one of the apps, when sending pushes I can select the custom event to be used as a conversion event with the push, and that works and tracks fine. For the other two I can select the custom event fine but when I try to send the notification I get a error:
"Unable to reserve a user property for Notification conversion funnel analysis for"
Anyone know why this occurs and how to resolve it?
I fixed it by adding a user property to the user properties tab in the analytics section of firebase console. The user property had nothing to do with the actual conversion event but adding at least one user property seems to have initialised something that made the conversion event selectable.

How to read alert message content in android using appium?

currently I am using following method to read the alert message content but it throws error saying not yet implemented. What is the alternative method to achieve this?
driver1.switchTo().alert().getText();
Error :org.openqa.selenium.WebDriverException: Not yet implemented. Please help us: http://appium.io/get-involved.html (WARNING: The server did not provide any stacktrace information)
In appium there is no need to use the switchto.alert method to capture the alert messages. Alert messages in mobile are actually in the native context and you have to switch to the native context to access the alert buttons/text.
driver1.context("NATIVE_APP");
After that you can capture the alert as an native element and fire any action upon it. Ex :
driver1.findElement(By.xpath("//android.widget.Button[#text='Yes']")).click();

What is the first event which I can use ShowMessage on Delphi XE + FireMonkey forms

I am developing a mobile application which requires an online internet connection.
I have called CheckInternetConnection codes in Form.OnCreate this method checks the intenet connection and will show a MessageBox which is saying you are not connected.
When I run this app on ios Simulator or ios Device, there is just SplashScreen and the app will stay there forever. I thought MessageBox goes under the splash screen, so I decided to move my code to other events, I tried OnPaint, OnActivate, OnResize but all of them are same.
I appreciate any help.
Try using Form.OnShow this will call the MessageBox when the form is first shown. Make sure to use a boolean flag in order to not show the message twice

Resources