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

Connect failure: The request timed out. (-1001)

$
0
0
I installed MobileCRM. I perform the synchronization. Result: Connect failure: The request timed out. (-1001).

Do you have any information?

Filippo

Failed To Load Application Settings Error

$
0
0

Hi there,

 

I have got Resco loaded on two machines with a license on each for development and live testing.  On my development server, when I try to load it up, I keep getting the “Failed To Load Application Settings”

 

I just needed to go in and export the work from development to import to my live system.  I did it just before Christmas and it was fine.  That said, I have done further work developing and I need the updated work.  Can I get to the files without exporting the app or can you point me in the direction of how I might solve the problem of failing to load the application settings?

I have sent this to technical support but wondered if there was anyone else out there who had this problem and how they solved it?

 

JJ Kilduff

How to use Regular Expression Match?

$
0
0
Hi,

I have the following in the OnSave event which basically check and see whether the Name length is more than 35 character, if so prompt error message.

If(Entity.name Regular Expression Match ^.{35,}$)
   Step: Form.name.ErrorMessage Assign "Cannot be more than 35 character"

Tested my regex expression in http://regexstorm.net/tester and it works just as expected. But somehow it just don't work in the function in which I'm still able to save the record with Name >35 characters.

Any idea?

Regards,
MK

JSBridge - Online many to many joined queries give null/incorrect results

$
0
0

When a fetch query is performed in online mode on a many to many relationship through scripts in RESCO, The result set is null/incorrect.
But if the same query is run in offline mode it works fine.

The code we are using (there is a M:M relationship between "contact" and "dev_client" and relationship name "dev_dev_client_contact")

var clientEntity = new MobileCRM.FetchXml.Entity("dev_dev_client_contact"); // relationship name    clientEntity.addAttribute("contactid");
    clientEntity.filter = new MobileCRM.FetchXml.Filter();
    clientEntity.filter.where("dev_clientid", "eq", clientId);var linkEntity = clientEntity.addLink("contact", "contactid", "contactid", "inner");
    linkEntity.filter = new MobileCRM.FetchXml.Filter();
    linkEntity.filter.where("statecode", "eq", 0);var fetch = new MobileCRM.FetchXml.Fetch(clientEntity);
    fetch.execute("Array", function (result) {// functionality goes here    }

We have decided to use fetch.executeOffline method until this is fixed as the results in online mode are inconsistent.

RESCO Version 8.0.4

Check Network Connectivity

$
0
0
Hi,
I have an offline html (iframe) and I was wondering if there is a way to check thru JSBridge whether there's data/wireless connectivity or not... or if I have to make use of some javascript method in this scenario.

I read about the MobileCRM.Configuration to check is users are working in online/offline mode but I'm so sure if this could help me to accomplish what I need.

Thanks for the help/orientation.
Ivan

initial view

$
0
0
is it possible to change the initial view of a associated tab with a rule.

Example, on load if project stage is bidding then show initial view Bidders else show Awards..


Info Path error when attempting to create Notes PDF attachments OFFLINE

$
0
0
In the latest release (8.1.3.0), we have encountered that while creating a Note attachment programmatically through JS Bridge in OFFLINE mode, we get the following error:

"Could not find a part of the path '<Temp Path for the attachment>' ". It does not create the .pdf attachment until we sync thus throws the error.

We are using the following code to create the attachment:

// Create the note record.
note = MobileCRM.DynamicEntity.createNew("annotation", null, letterName + " - " + today,
                                                        {
                                                            filename: letterName + " - " + today + ".pdf",
                                                            mimetype: "application/pdf",
                                                            documentbody: letter,
                                                            isdocument: true,
                                                            objectid: new MobileCRM.Reference("dev_letter", recordid, entityForm.entity.properties.dev_name),
                                                            objecttypecode: "dev_letter",
                                                            notetext: "Refer to attached letter",
                                                            subject: letterName + " - " + today,
                                                        }
                                                            );


This was working fine in the previous versions.


Offline html and JSBridge - Lookupform not working

$
0
0
Hi, I am trying to use a lookupForm in offline html. I created a button and used the below code. function chooseParentCustomer() { try { var lookupForm = new MobileCRM.UI.LookupForm(); lookupForm.allowedViews = null; // Allow all views lookupForm.allowNull = true; // Allow choosing empty value lookupForm.entities = ["account"]; // Allow only accounts lookupForm.show(onLookupFinished, MobileCRM.bridge.alert, null); } catch (err) { alert('Exception : \n\n' + err); } } function onLookupFinished(accountRef) { /// // Change the parent customer on currently edited contact entity if (accountRef == null) { return; } else { alert(accountRef.primaryName); } } However it shows an error - undefined is not a function. Please let me know. Best Regards, Bilu

How do we connect custom commands to offline html

$
0
0
Dear All, How to connect custom commands with offline html. I am unable to see this option in woodford. Best Regards, Bilu

Default view in LookupView

$
0
0
Hello.

Could you tell me please, is it possible to set a default view for MobileCRM.UI.LookupForm? For example, when I call MobileCRM.UI.LookupForm.show I see "All Contacts" view by default, but I need to see a "My Workgroup Contacts".

And a second question: how to use a property "allowedViews" of MobileCRM.UI.LookupForm? Documentation said, that it is a String type and i have no idea how to set some allowed views as a string. And no examples for it.

Regards

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

Changing field color in a view

$
0
0
I would like to be able to change the color of a field or background in a view depending on some piece of data.

For example in an Activities view change the Subject Field to Red if the Due Date is prior to today.

Global maps

$
0
0
Global maps display based upon the user's current location. It would be beneficial to add a few other parameters to a global map: - center on map: user's location, an account's location, an absolute / city location - zoom level, e.g. number of miles/km per inch/cm

How the syncronization manages conflicts ? By fields or by entity ?

$
0
0
Good morning. 
I was trying to understand how the syncronization engine manages conflicts. 
I updated the fax in the account entity from the native web app. 
I updated the email address of the same account from RESCO Mobile CRM in offline mode. 
the rule is "server wins"
I started the sync process from the device. 
I was expecting to have both data (new email and new fax number) on the device. 
Instead I have only the fax number ( from server)

The question is :
the sync engine works at entity level or at field level to identify conflict ? Is it possible to mark an entity "in conflict" only if the same field is updated ?

Regards
Maurizio

Update standard Entity Image

$
0
0
For the Contact entity I have added the field Entity Image and added it to a view and to the edit form. I wonder if there is a way to enable the user, via the camera, to update the Entity Image directly, i.e. without first creating a note. I though about creating a custom command, but that doesn't seem to be the route. Any suggestions? Regards, Per

Shared variable

$
0
0
Hi, I have been looking at your various descriptions of Shared Variable, thinking it might help me solve this scenario. However, the explanations are not very clear to me. The scenario I am trying to resolve is: The db structure is something like this: Contact <- Account -> Contact Report Besides, there is a lookup relation from Contact Report to Contact If you create a new Contact Report from an Account, you'll lookup a related Contact - no problem - however, if you do not find the Contact, you'll create a new one, clicking (+). What I would like to happen in that case is to populate the parentcustomerid on the contact with the accountid from the Contact Report, and I thought Shared Variables might help me. But so far, no luck.

Woodford performance

$
0
0
Hi, A couple of Woodford observations: 1) Using Woodford as a managed solution (MS-CRM 2013), the Silverlight application is started immediately when the Woodford tab under Settings is selected. This is not the expected behavior and in many cases not preferred. 2) Geocoding: I am in general running on a pretty slow connection and it seems as if the Fetch Data and Save function can be optimized using bulk retrieve/update. 3) Starting Woodford in an environment with millions of access teams takes a while - hours for me. Not very useful. Last time I had both breakfast and lunch before it was running. Rgds, Per

Notes tab and signature

$
0
0
I added a media tab to the Contact entity to experiment with pictures. It didn't do what I expected and thus removed it. However, now I see a Signature section in all entities' Notes tab (add note). How do I get rid of that?

Different UX for OptionSets vs Dates

$
0
0
Confirmation is needed to change a date on the IPAD where none is required for the OptionSet fields.
Additionally on Android, clicking outside the popup for an OptionSet applies the change while doing the same with the Date Picker has the opposite behaviour.

These inconsistencies are being noticed by our customers and raised as a concern for training issues, is there any plan to address these inconsistencies?

Kind Regards,
John


message from client in UAT:
"The process for selecting the audit result [OptionSet] is different from the process for selecting the due date. Is it possible to make these the same?"

RESCO form rule issues

$
0
0

We have come across an issue with RESCO form rules that are causing instability in the system when multiple forms are opened.

We have been able to replicate this issue using CRM default entities and have attached the onload rules as a XML at the end of this post.
This is mainly related to Form>Field> IsEnabled setting.

e.g. Task entity. required rule is to make subject field disabled if form is not new. Note that Subject needs to be a required field in CRM.
Form rules:

  • Form > Subject > IsEnabled > False
  • Condition: If Entity > IsNew > equals > True
    • Form > Subject > IsEnabled > True
  1. Create a task with mandatory subject field data and save and close the record.
  2. Open the created task.
  3. Click + on main grid to create another task while the previous task is still open
  4. Subject is a mandatory field but is not highlighted in red and form is allowed to save without entering required data.

The example is only used to explain and reproduce the error. But we have much complex form rules in our projects and this is causing inconsistencies when form rules are performed. In some cases resulting in the whole form becoming read only when other forms are opened in the background.

Please see the attached OnLoad XML rules. Please add it to task entity and follow my steps to reproduce.

Thanks

Task on load XML rules:

------------------------------------------------------------------

<Workflow e="true" isvalid="true" syntaxVersion="7" version="0">
  <function e="false">
    <var>Form.subject.IsEnabled</var>
    <arg>Boolean:False</arg>
    <func>Assign</func>
  </function>
  <branch info="Check if form is new" e="true">
    <if e="true">
      <conditions e="true" op="And">
        <condition e="false">
          <var>Entity.IsNew</var>
          <arg>Boolean:True</arg>
          <op>Equal</op>
        </condition>
      </conditions>
      <action e="true">
        <function e="false">
          <var>Form.subject.IsEnabled</var>
          <arg>Boolean:True</arg>
          <func>Assign</func>
        </function>
      </action>
    </if>
  </branch>
</Workflow>


Viewing all 604 articles
Browse latest View live