what was done is adding the image to NuiLogin.aspx page css (add body elemnt there):
<style>
.font-preload {
position: absolute;
opacity:0;}
.font-preload-open-sans {
font-family:"Bpmonline Open Sans";}
.font-preload-open-sans-light {
font-family:"Bpmonline Open Sans Light";}
.font-preload-open-sans-bold {
font-family:"Bpmonline Open Sans Bold";}
body {
background-image: url("783px-Test-Logo.svg.png");}</style>
and put this image to the root directory of app binary files. Only css should be modified in case you don't need to repeat this image and to set the size for it.
what was done is adding the image to NuiLogin.aspx page css (add body elemnt there):
<style>
.font-preload {
position: absolute;
opacity:0;}
.font-preload-open-sans {
font-family:"Bpmonline Open Sans";}
.font-preload-open-sans-light {
font-family:"Bpmonline Open Sans Light";}
.font-preload-open-sans-bold {
font-family:"Bpmonline Open Sans Bold";}
body {
background-image: url("783px-Test-Logo.svg.png");}</style>
and put this image to the root directory of app binary files. Only css should be modified in case you don't need to repeat this image and to set the size for it.
Strange, this approach worked in my local app perfectly. Maybe there is an error message in the console when trying to reach the Login page and it will provide more details? Or maybe the image is empty? Also try restarting the application in IIS.
I am trying to access a local Creatio instance(deployed in Localhost port 9010 ) from Android Studio Emulator. I am using the URL 10.0.2.2 to access my actual machine based on
Type: Terrasoft.SyncException
Message: An error occurred while synchronizing
Stack trace:
Class.logException(terrasoft-all-combined.js:7325:45)
Class.error(terrasoft-all-combined.js:7332:12)
Function.processFailure(terrasoft-all-combined.js:36689:24)
terrasoft-all-combined.js:36760:20
Object.callbackFromNative(cordova.js:295:52)
processMessage(cordova.js:1081:17)
processMessages(cordova.js:1104:9)
pollOnce(cordova.js:973:9)
pollOnceFromOnlineEvent(cordova.js:960:5)
Type: Terrasoft.Exception
Message: Could not complete request
Stack trace:
com.creatio.core.net.RequestException: Could not complete request
at com.creatio.core.net.RequestExceptionFactory.create(RequestExceptionFactory.java:28)
at com.creatio.core.net.Request.getRequestException(Request.java:418)
at com.creatio.core.net.Request.post(Request.java:355)
at com.creatio.core.net.RequestItem.execute(RequestItem.java:30)
at com.creatio.core.net.RequestManager.doExecuteRequest(RequestManager.java:181)
at com.creatio.core.net.RequestManager.executeRequest(RequestManager.java:173)
at com.creatio.core.net.RequestManager.post(RequestManager.java:87)
at com.creatio.core.net.RequestManager.post(RequestManager.java:75)
at com.creatio.core.service.Service.post(Service.java:133)
at com.creatio.core.service.MobileMetadataService.load(MobileMetadataService.java:52)
at com.creatio.app.sync.MetadataSyncAdapter.downloadMetadata(MetadataSyncAdapter.java:225)
at com.creatio.app.sync.MetadataSyncAdapter.loadMetadata(MetadataSyncAdapter.java:86)
at com.creatio.app.sync.MetadataSyncAdapter.startSync(MetadataSyncAdapter.java:57)
at com.creatio.app.sync.SyncAdapter.synchronize(SyncAdapter.java:55)
at com.creatio.app.sync.AppSyncAdapter.runSyncAdapter(AppSyncAdapter.java:121)
at com.creatio.app.sync.AppSyncAdapter.syncMetadata(AppSyncAdapter.java:296)
at com.creatio.app.sync.AppSyncAdapter.syncAllMetadata(AppSyncAdapter.java:153)
at com.creatio.app.sync.AppSyncAdapter.startSync(AppSyncAdapter.java:60)
at com.creatio.app.sync.SyncAdapter.synchronize(SyncAdapter.java:55)
at com.creatio.app.sync.SyncRunner.runItem(SyncRunner.java:259)
at com.creatio.app.sync.SyncRunner.doRun(SyncRunner.java:250)
at com.creatio.app.sync.SyncRunner.run(SyncRunner.java:129)
at com.creatio.app.sync.SyncRunner.run(SyncRunner.java:101)
at com.creatio.cordova.plugin.tssynchronization.TSSynchronizationPlugin.runSync(TSSynchronizationPlugin.java:102)
at com.creatio.cordova.plugin.tssynchronization.TSSynchronizationPlugin.syncApp(TSSynchronizationPlugin.java:356)
at com.creatio.cordova.plugin.tssynchronization.TSSynchronizationPlugin.lambda$execute$6$com-creatio-cordova-plugin-tssynchronization-TSSynchronizationPlugin(TSSynchronizationPlugin.java:67)
at com.creatio.cordova.plugin.tssynchronization.TSSynchronizationPlugin$$ExternalSyntheticLambda6.run(Unknown Source:6)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Caused by: java.net.ProtocolException: Expected leading [0-9a-fA-F] character but was 0x9d
at com.android.okhttp.internal.http.Http1xStream$ChunkedSource.readChunkSize(Http1xStream.java:463)
at com.android.okhttp.internal.http.Http1xStream$ChunkedSource.read(Http1xStream.java:437)
at com.android.okhttp.okio.RealBufferedSource$1.read(RealBufferedSource.java:372)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at java.io.PushbackInputStream.read(PushbackInputStream.java:186)
at com.creatio.core.util.StreamUtils.writeToOutputStream(StreamUtils.java:32)
at com.creatio.core.net.DownloadRequest.readResponseInputStream(DownloadRequest.java:68)
at com.creatio.core.net.Request.connect(Request.java:65)
at com.creatio.core.net.Request.post(Request.java:340)
... 27 more
Type: Terrasoft.Exception
Message: Expected leading [0-9a-fA-F] character but was 0x9d
Stack trace:
java.net.ProtocolException: Expected leading [0-9a-fA-F] character but was 0x9d
at com.android.okhttp.internal.http.Http1xStream$ChunkedSource.readChunkSize(Http1xStream.java:463)
at com.android.okhttp.internal.http.Http1xStream$ChunkedSource.read(Http1xStream.java:437)
at com.android.okhttp.okio.RealBufferedSource$1.read(RealBufferedSource.java:372)
at java.io.FilterInputStream.read(FilterInputStream.java:133)
at java.io.PushbackInputStream.read(PushbackInputStream.java:186)
at com.creatio.core.util.StreamUtils.writeToOutputStream(StreamUtils.java:32)
at com.creatio.core.net.DownloadRequest.readResponseInputStream(DownloadRequest.java:68)
at com.creatio.core.net.Request.connect(Request.java:65)
at com.creatio.core.net.Request.post(Request.java:340)
at com.creatio.core.net.RequestItem.execute(RequestItem.java:30)
at com.creatio.core.net.RequestManager.doExecuteRequest(RequestManager.java:181)
at com.creatio.core.net.RequestManager.executeRequest(RequestManager.java:173)
at com.creatio.core.net.RequestManager.post(RequestManager.java:87)
at com.creatio.core.net.RequestManager.post(RequestManager.java:75)
at com.creatio.core.service.Service.post(Service.java:133)
at com.creatio.core.service.MobileMetadataService.load(MobileMetadataService.java:52)
at com.creatio.app.sync.MetadataSyncAdapter.downloadMetadata(MetadataSyncAdapter.java:225)
at com.creatio.app.sync.MetadataSyncAdapter.loadMetadata(MetadataSyncAdapter.java:86)
at com.creatio.app.sync.MetadataSyncAdapter.startSync(MetadataSyncAdapter.java:57)
at com.creatio.app.sync.SyncAdapter.synchronize(SyncAdapter.java:55)
at com.creatio.app.sync.AppSyncAdapter.runSyncAdapter(AppSyncAdapter.java:121)
at com.creatio.app.sync.AppSyncAdapter.syncMetadata(AppSyncAdapter.java:296)
at com.creatio.app.sync.AppSyncAdapter.syncAllMetadata(AppSyncAdapter.java:153)
at com.creatio.app.sync.AppSyncAdapter.startSync(AppSyncAdapter.java:60)
at com.creatio.app.sync.SyncAdapter.synchronize(SyncAdapter.java:55)
at com.creatio.app.sync.SyncRunner.runItem(SyncRunner.java:259)
at com.creatio.app.sync.SyncRunner.doRun(SyncRunner.java:250)
at com.creatio.app.sync.SyncRunner.run(SyncRunner.java:129)
at com.creatio.app.sync.SyncRunner.run(SyncRunner.java:101)
at com.creatio.cordova.plugin.tssynchronization.TSSynchronizationPlugin.runSync(TSSynchronizationPlugin.java:102)
at com.creatio.cordova.plugin.tssynchronization.TSSynchronizationPlugin.syncApp(TSSynchronizationPlugin.java:356)
at com.creatio.cordova.plugin.tssynchronization.TSSynchronizationPlugin.lambda$execute$6$com-creatio-cordova-plugin-tssynchronization-TSSynchronizationPlugin(TSSynchronizationPlugin.java:67)
at com.creatio.cordova.plugin.tssynchronization.TSSynchronizationPlugin$$ExternalSyntheticLambda6.run(Unknown Source:6)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Unfortunately, we cannot help you with this problem because we don't use local environments via Android Studio. But, I can say that this is in fact possible. I managed to connect to localhost using 10.0.2.2.
Please take a closer look at the article you provided, maybe you missed some setting.
Also, look at this post, I hope it can help you fix this error.
Please double-check all features that are enabled for the machine where IIS server is deployed (according to the Academy article here). Once done, please redeploy on-site application from scratch using clean binary files (which can be received from the support team at support@creatio.com).
It is as a must to use clean binary files (not those that can be provided by support in case you request database backup of some application to deploy it locally, but out-of-the-box files).
Also, please double-check the connection parameters to the database in connection. Since incorrect database connection parameters, the Strings config file can also lead to login issues.
And finally, please check if you haven't specified HTTPS as a redirect method for your application in IIS and if it was appropriately configured in the configuration files.
also, please check if the "State of feature" is included in the lookup and that both "Feature" and "AdminUnitFeatureState" have operation permissions enabled in the Object permissions section.
also, please check if the "State of feature" is included in the lookup and that both "Feature" and "AdminUnitFeatureState" have operation permissions enabled in the Object permissions section.
We are facing "unexpected token r in json at position 0" error when we try to login after providing the username and password, on inspection we found the error "as attached".
Could you please elaborate a bit on your business task? Would you like to start execution of the business process based on the active user session in a system?
We make scheduled process (every minute) and check if there are unprocessed records in 'Audit log' with Type = 'User authorization' and Result = 'Authorization'
Before you need to add new field 'Processed' to 'Audit log' object in order to set it to True when record is processed
Thank you for all your reply, I need to start the event after successful login. I believe crm is saving session record somewhere else. Can I use this object to trigger the event? What is this object and the field name I want to start a signal using this.
We use LDAP with SSO as authentication in our customer's onprem installation.
So the users are used to log in using their Windows username and password and don't have a separate creatio login.
However, the creatio app doesn't support this login method, which is understandable, since there is now windows user context on the phone.
I was wondering how others are dealing with this problem. Is it even possible to use LDAP and creatio authentication side-by-side, because it seems to be either or?
Can you please register a case for our support team so we could check the LDAP configuration? Cause there can be several reasons for such error message.
I have the following task: to show a window to the user with information (a warning about the confidentiality of personal information) during each login.
I tried to create a process that runs when a new entry is added to the "User session" object, but it has never triggered.
Do you see any errors in the console about "You're trying to decode an invalid JSON String". That task sends a message to the client using the ServerChannel. In 7.17.0 and 7.17.1 a change to the OmniChat broke this when a non-JSON message is sent, so it's possible you're seeing a side effect of that issue. *If* you're seeing that message in the console about "decode an invalid JSON string", I posted a fix you can implement in this thread: https://community.creatio.com/questions/new-bug - (I don't know for sure if that is the issue you're seeing - it could be that "User session" isn't showing a signal)
We are already aware of this error (we have made corrections in the code), so it is not related to our problem.
Our problem is that the process doesn't run on this trigger at all, because when a user logs in, the insertion into SysUserSession is done using Insert request, which causes the events not triggered.
Do you have any ideas on how to implement such a task?
It will help to standardize the above, recognize the logged in user session and auto redirect - Especially the different behaviors between #1 and #4. Users could very well bookmark URL #1 and lose the advantage of session tracking.
Yes, the behavior you've described is an out-of-the-box behavior and our core R&D team has a task to enable proper redirects in case the user has an active session in a web browser and tries to reach the links mentioned above. I will let them know about your idea so to prioritize the task for them.
Thank you for helping us to make the application workflow better!