Search This Blog

Tuesday, January 20, 2009

New Tool ! View Layout Replicator

Hi,
I announced this tool almost two months now and I'm proud to release it: the view layout replicator!


This tool will save you lot of time (except if you like updating Xml by hand, anyway): You can desing only one view for an entity and then, use this tool to replicate the modifications to the other views.

For example, we all customize "All active accounts" for our customer but how many do the same with all others public views and Quick Find, Advanced Find, Related View,etc?

With this tool, you can replicate any view to any view except one product restrictions: There can't be associted entity column in a related view.


Download:


Friday, January 16, 2009

MSCRM 4.0 update rollup 2

A new rollup is now available on Microsoft Download site.

It seems to correct our bugs that appeared with rollup 1. Don't need to install rollup 1 before, if you didn't.

Url: http://www.microsoft.com/downloads/details.aspx?familyid=aa671769-61e9-45c4-919f-c88199aa4241&displaylang=en&tm

Wednesday, January 7, 2009

JScript : know which action raised onSave event on form

Hi,

I didn't have noticed a useful property for the onSave() method in crm Forms, I talk about the property "event.Mode".

This property lets you know for which reason the onSave() method has been called:

Here is the list of event:
  • None : 0
  • Save : 1
  • SaveAndClose : 2
  • Delete : 3
  • Load : 4
  • Deactivate : 5
  • Reactivate : 6
  • Email Send : 7
  • Email Reply : 8
  • Email Forward : 9
  • Kb Submit : 10
  • Kb Reject : 11
  • Kb Publish : 12
  • Kb UnPublish : 13
  • Kb Rate : 14
  • Lead Unqualify : 15
  • Lead Qualify : 16
  • Quote Accept : 17
  • Quote CreateOrder : 18
  • Order ProcessOrder : 19
  • Opportunity AddRelatedOrder : 21
  • Opportunity AddRelatedQuote : 22
  • Opportunity AddRelatedInvoice : 23
  • Quote CreateRevision : 24
  • Quote CloseQuote : 25
  • Order CancelOrder : 26
  • Invoice Close : 27
  • Quote GetProducts : 28
  • Quote Activate : 29
  • Email ReplyAll : 30
  • Contract Hold : 31
  • Contract ReleaseHold : 32
  • Contract Cancel : 33
  • Contract Renew : 34
  • Product ConvertToKit : 35
  • Product ConvertFromKit : 36
  • ContractDetail Cancel : 37
  • Contract Invoice : 38
  • Contract Clone : 39
  • Incident Cancel : 40
  • Email Assign : 41
  • Change SalesStage : 42
  • SalesOrder GetProducts : 43
  • InvoiceGetProducts : 44
  • TemplateMakeOrgAvailable : 45
  • TemplateMakeOrgUnavailable : 46
  • Assign : 47
  • IncidentAssignToUser : 49
  • OrderLock : 50
  • OrderUnlock : 51
  • InvoiceLock : 52
  • InvoiceUnlock : 53
  • ConvertResponse : 54
  • ReportMakeOrgAvailable : 60
  • ReportMakeOrgUnavailable : 61
  • WorkflowAddCheckStep : 62
  • WorkflowUpdateCondition : 63
  • WorkflowCreateAction : 64
  • SendInvite : 65
  • WorkflowAddElseIfStep : 66
  • WorkflowAddElseStep : 67
  • WorkflowDeleteStep : 68

You can then use it like :

if(event.Mode == 16)

{

// Check whatever you want

}


So, just in case, if you don't want which event is triggered, just add the
following line

in the onSave event of the form:

alert(event.Mode);