Jump to content

Log files: Difference between revisions

From Resco's Wiki
No edit summary
Line 27: Line 27:


The legacy Silverlight version of [[Woodford]] had the function to display and send logs - select '''Logs''' from the '''Administration''' menu.
The legacy Silverlight version of [[Woodford]] had the function to display and send logs - select '''Logs''' from the '''Administration''' menu.
== Header ==
Right after installation, the log contains at least a header like this:
<pre>MobileCRM 8.3.2.0                      Application name and version
2xxxxxx9-Dxxx-4xxx-Axxx-4xxxxxxxxx6    Device ID
MyiPad                                Device name
iPad Air 2 4G (iPad5,4)                Device model
iPhone OS 9.1.164bit                  Device OS
AppStore Version                      Application type</pre>
; Application name and version: The application name reflects the '''Title''' set in the project's [[Branding]] section in [[Woodford]]. It can be one of the identifiers whether the user received the right project. The application version number always reflects the installed app’s version.
; Device ID: This ID number depends on theoperating system a device runs.
:* For Apple devices see this [https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDevice_Class/#//apple_ref/occ/instp/UIDevice/identifierForVendor link]
:* For Android devices see this [http://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_IDhttp://developer.samsung.com/technical-doc/view.do?v=T000000103 link]
:* For Windows Store version (including Windows 10 Mobile) we use this code to get the ID:
::<syntaxhighlight lang="php">
var nonce = "RescoMobileCRM".ToCharArray().Select(c=>(byte)c).ToArray();
var token = Windows.System.Profile.HardwareIdentification.GetPackageSpecificToken(nonce.AsBuffer());
var x = token.Id.ToArray();
return Convert.ToBase64String(x);
</syntaxhighlight>
:* For the Windows desktop version, we use this code to get the ID:
::<syntaxhighlight lang="php">
string id = null;
GetSystemInfo(ref id, "Win32_BaseBoard", "SerialNumber");
if (string.IsNullOrEmpty(id))GetSystemInfo(ref id, "Win32_Processor", "UniqueId");
if (string.IsNullOrEmpty(id))GetSystemInfo(ref id, "Win32_Processor", "ProcessorId");
m_deviceId = id;
</syntaxhighlight>
; Device name: It is a name set in the device’s settings, e.g. user specified name.
; Device model: Indicates how the device model is represented in device’s OS.
; Device OS: Shows the device’s operating system version.
; Application type: “AppStore version” means that the application was provided by Resco and downloaded from an official app store (Apple App Store, Google Play, Windows Store). If the Application type field reads anything else, it means the user is running a custom-built application based on the Resco Mobile CRM technology.
== Synchronization log ==


[[Category:Resco Mobile CRM]]
[[Category:Resco Mobile CRM]]

Revision as of 12:32, 1 August 2019

In case of problems, Resco support may occasionally ask you for log files.

Sending logs from mobile apps

  1. Go to the app's About section – typically available on the Home screen.
  2. Tap the scroll icon in the top right corner of the app.
  3. Add any details as necessary and then tap the send icon.
Tip If you can’t find the About section in your app, please contact your CRM administrator (or the person responsible for Resco Mobile CRM in your company), to guide you to the About section, or to place the About section to a visible place in the Resco Mobile CRM application customization.

Log files in Windows versions of mobile apps

This section is aimed at technical staff responsible for troubleshooting performance potential or functional issues with Resco mobile apps.

Depending on your application version, the log files might be stored in various locations:

In case of Windows 7 Desktop application, the application data are stored in the following folder: %APPDATA%\MobileCRM, which is typically: C:\Users\{UserName}\AppData\Roaming\MobileCRM

In case of Windows Store (Win10) version, it’s %LOCALAPPDATA%\Packages\Resco.MobileCRM_{StoreId}\LocalState\MobileCRM, which is typically: C:\Users\{UserName}\AppData\Local\Packages\Resco.MobileCRM_{StoreId}\LocalState\MobileCRM

crash.log
contains information about exceptions, including problems with third-party integrations
syncLog.txt
contains information about your recent synchronizations

Sending logs from Woodford

Warning This function is not available in the current version of Woodford.

The legacy Silverlight version of Woodford had the function to display and send logs - select Logs from the Administration menu.

Header

Right after installation, the log contains at least a header like this:

MobileCRM 8.3.2.0                      Application name and version
2xxxxxx9-Dxxx-4xxx-Axxx-4xxxxxxxxx6    Device ID
MyiPad                                 Device name
iPad Air 2 4G (iPad5,4)                Device model
iPhone OS 9.1.164bit                   Device OS
AppStore Version                       Application type
Application name and version
The application name reflects the Title set in the project's Branding section in Woodford. It can be one of the identifiers whether the user received the right project. The application version number always reflects the installed app’s version.
Device ID
This ID number depends on theoperating system a device runs.
  • For Apple devices see this link
  • For Android devices see this link
  • For Windows Store version (including Windows 10 Mobile) we use this code to get the ID:
var nonce = "RescoMobileCRM".ToCharArray().Select(c=>(byte)c).ToArray();
var token = Windows.System.Profile.HardwareIdentification.GetPackageSpecificToken(nonce.AsBuffer());
var x = token.Id.ToArray();
return Convert.ToBase64String(x);
  • For the Windows desktop version, we use this code to get the ID:
string id = null;
GetSystemInfo(ref id, "Win32_BaseBoard", "SerialNumber");
if (string.IsNullOrEmpty(id))GetSystemInfo(ref id, "Win32_Processor", "UniqueId");
if (string.IsNullOrEmpty(id))GetSystemInfo(ref id, "Win32_Processor", "ProcessorId");
m_deviceId = id;
Device name
It is a name set in the device’s settings, e.g. user specified name.
Device model
Indicates how the device model is represented in device’s OS.
Device OS
Shows the device’s operating system version.
Application type
“AppStore version” means that the application was provided by Resco and downloaded from an official app store (Apple App Store, Google Play, Windows Store). If the Application type field reads anything else, it means the user is running a custom-built application based on the Resco Mobile CRM technology.

Synchronization log