Quantcast
Channel: Resco Forums: MobileCRM
Viewing all 604 articles
Browse latest View live

MobileCRM.Application.writeFile

$
0
0
I've been trying without success to write a file to the Android phone.
Here is my code:

    <script type="text/javascript">
        var fileName = "test.txt";
        var platform = MobileCRM.bridge.platform;
        var path = "./test/" + fileName;

alert(platform);
        if (platform == "Android" || platform == "iOs")
            path = "../storage/extSdCard/Android/data/test/" + fileName;

alert(path);
        function File() {
            // Check if Directory exist and contains file.
            MobileCRM.Application.fileExists(path, function (exist) {
                if (!exist)
                    alert("File not found.");
else
alert("File does exists!");

                Write("Test.");

            }, MobileCRM.bridge.alert, null)
        }
        function Write(text)
        {
alert(text);
            MobileCRM.Application.writeFile(path, text, true, function (success) { alert(success); }, MobileCRM.bridge.alert, null);
        }
    </script>
I created the file, but the function is not working!
What am i doing wrong?

Synchronization Dependencies?

$
0
0
We use synchronization filters to limit the data synchronized to our client's devices using MobileCRM.

The filters are moderately complex and have dependencies on other entities which are filtered as well.

I'm having issues where data is properly available when working in online mode, but not in offline mode. I suspect because some of these dependent entities may not be available (yet) because they have not yet synchronized, this is negatively impacting the other entities' synchronization.

Is this a real thing I need to consider? Is there a way to specify the order that entities are synchronized in?

Woodford Geocoding

$
0
0
So I read that there is now "Woodford Geocoding" where I can have an address and the geolocation will be added based on the Address.  How do I use this?  I added a record today, and it didn't do it.  When I added the "update" GPS, it used my device GPS.  I didn't see an option to add the geo-coordinates.

Please explain or demo.  Thanks

Manually getting entityform if undefined

$
0
0
How is the entityform retrieved when I call something like MobileCRM.UI.EntityForm.requestObject? 
I currently face the problem that when a plugin overwrites a primary property of a certain entity the entityform is not received although there is still the unique id to identify the correct entity.
So is it possible to send a custom request with certain data to circumvent the standard requestObject function and still get the entityform?

Multiline fields appearing only as single line

$
0
0
Hi,

I have an issue where when I add more than 6 multi line fields on a tab, it appears to shrink them down from the usual 5 lines to a single line and then the text in those fields cannot be read.

Has someone previously experienced this, is there a way to fix it?

Double-Synchronisation needed to retrieve sync-workflow created records

$
0
0
I have a Q&A entity record and depending on the results Tasks are generated by a synchronous workflow on update. When working in offline mode the synchronisation seems to miss these newly created records until the synchronisation is run for a second time.

I've tried adding a basic Link to the Tasks Filter that simply checks the relationship exists through a link filter based on the advice given here but I don't seem to have the "Increment Linked SyncFilter" option on either the Task or Answer entity.

FYI: I am running against CRM 2013 SP1

Is there a way to set the order in which records will be synchronised or to ensure updates are pushed before new records are pulled from the server? From the documentation I've read, the synchronous workflow transaction should happen within the Mobile CRM synchronisation transaction.

Thanks,
John

Contact Authentication against Adx Studio Contact/Password

$
0
0
Has anyone successfully authenticated against the Contact/Password combination used by ADX Studio portal.

We have a solution of CRM + ADX Studio (with authenticated contact users).

Now, we wish to add Resco Mobile authenticated against these Contacts and the Encrypted ADX Studio passwords.

What we are aiming to achieve is a single sign on across our portal and Resco.

JS Bridge - Any Control Library Recommendations?

$
0
0
Hi,

We are looking at the JS Bridge to provide some simple user interface elements to our Mobile Solution.

The solution is Contact authenticated as it is to be used by members of a community. Therefore they will not be trained as such.

We want to put some pickers in to capture among other things:
  • Wind strength
  • Wind direction
  • Another 'condition metric' with 7 or so value

Sliders and rotators is what we are looking for.

Has anyone got a good library they use on their JS Bridge projects?

Thanks!


Synchfilter equal current user as external loggedin user

$
0
0
I have made a new relationship between owner on contact entity to contact again. This make it possible to set a contact as a owner of a contact, and not only a system user/employee as contact.

then I have set a synch filter on contacts as user equal to current user.

My mobile project is enabled for external users and it autenthicate against contact entity. I would then expect to see only "my self" in the contact list, but i see none.

My goal is to make the external users able to update their contact details.

I have the same issue on a custom entity i have named projects. I want the contact to see only the projects that the logged in external user/contact owns.

Anyone tried the same and solved it?

Regards
Stig/Norway

Custom Lookup views and filtering

$
0
0
We are using the following code to show the lookup view

            var lookupForm = new MobileCRM.UI.LookupForm();
            var entities = new Array();
            var views = new Array();
            entities.push('contact');
            views.push("contact.Parents_Guardians");
            lookupForm.allowNull = true; // Allow choosing empty value
            lookupForm.entities = entities ; // Allow only contacts
            lookupForm.allowedViews = views;
            lookupForm.show(onLookupFinishedContact, MobileCRM.bridge.alert, null);

We have a lookup view called "Parents_Guardians" in the contact entity as well.
But when invoked it throws an error "There is no parameterless constructors for this object"
When using lookupForm.allowedViews = null; Works fine
Also I've noticed that constructor in JSBridge for
LookupForm: function () is missing a semi colon on line
this.prevSelection = null

Second question: Is there a way to set a custom fetch filter for a lookup view based on a field in the form through scripting.

We are using RESCO 8.0.1.0 with the latest JS Bridge

Thanks

Embed Signature component inside of custom page

$
0
0
Hi,

I'm trying to find out if it's possible to embed the signature component into a custom HTML page? I did some searching through the forum and found a post from Lukas here that indicated it might be possible to do this?

Note that I don't want to display a saved signature (I have that working already) but I'd like to have a page that allows the user to sign, as well as other HTML fields and data visible at the same time.

Thanks for all your help!

AngularJS Routing

$
0
0
Hi,
I am trying to get an angular app working via the Offline HTML. When I have a basic application, everything works fine. However, if I introducing routing, either via ng-route or the ui-router, I start getting access denied errors. 

I've narrowed it down to the place where angular is trying to dynamically load one of the partial files (e.g. partials/test.html) when the route changes. Some research shows that this is due to angular attempting to make an XHR request to retrieve the contents of this file and IE incorrectly believe that we are attempting a cross domain request. Does anyone have any idea on how I can get this to work?

Regular expression to verify e-mail

$
0
0
Hi,

I'm trying to use a regex to validate an e-mail field on saving the form. So I add an on-safe rule to the form with a simple if condition and add an error message when the regex does not match.

The regex is /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i

However when matching the regex it always displays the error message. I know the regex works with javascript because I have used it in the past.

I also tried a very simple regex [abc] and this never throws the error. Everything matches, which is also obviously incorrect.

So my question is, how do I use the 'Regular Expression Doesn't Match' function in Woodford?



Thanks!
Ruben

"+" sign top menu event

$
0
0
I apologize if this question was asked before. I would like to know what event is trigger on a form when the user tap on the  "+".
Does JSBridge provide implementation for that?

Thanks
Jose

Alert.CorruptedConfig

$
0
0
http://imgur.com/e0GaX30

Any idea what this error is referring to?

Exporting Views and Forms

$
0
0
is it possible to export Views and Forms for one project and upload them to another?

GPS couldnt initialize

$
0
0
Hi,
I am trying to get the GPS integration working in my solution. I have an entity that has the appropriate latitude and longitude fields, with the correct type and precision as specified in the guide. I have added the fields to the form and specified an on load event to get the GPS location

I've checked that the GPS device on the Windows 7 Tablet is working and getting a reading using the built in utility for it. When attempting to get the location using the application, I get an error along the lines of 'Cannot initialize GPS".

How can I troubleshoot what is going on?

The GPS device communicates on the NMEA Com Port of COM7
The tablet is a Motion F5 ruggedised tablet.

Return to demo version

$
0
0
Hello,

One of our users is having problems with synchronizing.
Each day when she turns on the app the demo version is shown with the bike shops. She then fills in the company data (URL, username, password, ...) and synchronizes again but some time later it switches back to the demo version.
Is this a known problem or is there a solution for this?

Thanks!

James

Create report HTML

$
0
0
Hi everybody!!

I am new in development area. I am working in Resco Mobile CRM. I try to create a report in offline mode. I have read a post in this forum about run reports in offline mode. It recommends to read Woodford guide. I have already done it. But I have some doubts.


First and basic, In this guide I cannot find any specific information about reports, so what kind of program should I use? and what kind of project should I create? (report server?)

When I have solved the above, I would like to know where I get the datasource, for working offline I think the datasource will be on Resco Mobile CRM app. Does it make sense for you?

I apologize for my lack of knowledge

Default Map Provider

$
0
0
Hello,

Is it possible to change the map of MobilCRM app on Windows from Bing Maps to Google Maps?

We're using Windows tablets but we want to use Google Maps as default map provider.

Thanks in advance.


Viewing all 604 articles
Browse latest View live