MSCRM 4.0 Form Properties

Do pól formularza odwołujemy się poprzez obiekt crmForm:

[js]
crmForm.propertyname
[/js]

Tabelka poniżej przedstawia dostępne właściwości.

Właściwość Typ Opis
IsDirty bool Określa czy formularz był modyfikowany
FormType int Tylko do odczytu. Typ formularza.Możliwe wartości:

  • Undefined Form Type = 0
  • Create Form = 1
  • Update Form = 2
  • Read Only Form = 3
  • Disabled Form = 4
  • Quick Create Form = 5
  • Bulk Edit Form = 6
ObjectId string Tylko do odczytu. Identyfikator encji. Jeśli formularz jest w trybie edycji
ObjectTypeCode string Tylko do odczytu. Kod typu encji którą edytujemy/wyświetlamy na formularzu
ObjectTypeName string Tylko do odczytu.  Nazwa typu encji której dotyczy formularz
all.{field name}  Kolekcja poszczególnych pól formularza odpowiadającym polom w encji lub IFRAME formularza.

Przykład

[js]

var CRM_FORM_TYPE_CREATE = 1;
var CRM_FORM_TYPE_UPDATE = 2;

// Test the FormType and ObjectId properties.
switch (crmForm.FormType)
{
case CRM_FORM_TYPE_CREATE:
alert("This is a create form.");
break;

case CRM_FORM_TYPE_UPDATE:
alert("This is an update form, the ID is " + crmForm.ObjectId + ".");
break;
}
[/js]
[js]
var CRM_ENTITY_ACCOUNT = 1;
var CRM_ENTITY_CONTACT = 2;

// Test the ObjectTypeCode property.
switch (crmForm.ObjectTypeCode)
{
case CRM_ENTITY_ACCOUNT:
alert("This is an Account form.");
break;

case CRM_ENTITY_CONTACT:
alert("This is a Contact form.");
break;
}

[/js]

Żródło: http://msdn.microsoft.com/en-us/library/cc150873.aspx

7,628 thoughts on “MSCRM 4.0 Form Properties”

  1. I’ll immediately grab your rss feed as I can’t to
    find your email subscription link or newsletter service.
    Do you have any? Please let me understand in order that I may just subscribe.
    Thanks.

  2. Looking for the ideal providers as well as their
    recovery plan combined with the variety of numerous data centers that they’re using is incredibly important.
    The LTO2 Media, tape are perfectly matched wonderful branded
    LTO Ultrium 2 tape drive with backward read and write capability in this means it saves crucial organization further
    investments. The WORM cartridge keeps your data in perfect preservation for
    many years.

  3. Excellent beat ! I wish to apprentice even as you amend your site, how can i subscribe for a weblog web site?
    The account aided me a appropriate deal. I have been tiny bit acquainted of this your broadcast offered
    bright clear concept

  4. Thank you a lot for sharing this with all people you actually
    know what you are talking approximately! Bookmarked. Kindly additionally visit my
    website =). We could have a link alternate agreement between us

  5. You will get selecting transferring data through the large data
    files. A DMX usb is a superb hope whenever you simply can’t pay for
    a different way to buy your light show working appropriately for the really modest volume of income.

    The WORM cartridge keeps the info in perfect preservation for many
    years.

  6. This design is wicked! You most certainly know how to keep a
    reader entertained. Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Wonderful job.
    I really loved what you had to say, and more than that, how you presented it.

    Too cool!

  7. Estou apaixonada pelo meu mentor,incessantemente este está puxando ponto comigo, mas nunca chegou em
    mim porém ta Sempre no meu pé, ele está Constantemente chamado minha atenção enquanto eu estou
    de conversa com algum companheiro. , nessa zero difícil (nos eh que a tornamos
    difícil), lida em encontrar um varão que patroa Logo pensei graças a
    Deus que atualmente se faz sexo antes que do casamento, porque
    quem gosta de PP, para com partido popular, quem gosta de PG outrossim.
    se este homem (Jan Kristof) for uma farsa, Você no fundo já sabe que os homens também a julgam a arrebentar
    de como você cuida de si mesma, conforme à realidade e também
    emocionalmente.

  8. whoah this weblog is excellent i like reading your posts. Keep up the great paintings! You know, a lot of people are looking around for this information, you can aid them greatly.

  9. I just could not depart your website prior to suggesting that I extremely
    loved the standard information a person provide in your visitors?
    Is going to be again often to check out new posts

  10. The process of Disc replication is totally different from
    disc duplication. A DMX usb is a superb hope whenever you
    simply can’t purchase a way to get the light show working appropriately for the really modest amount of
    income. The WORM cartridge keeps the info in perfect
    preservation for most years.

  11. Howdy, I do believ your sitre migvht be having internet browser compatibility problems.
    Whenever I look att your weeb site in Safari, it looks fine however, when opening in I.E.,
    it has some overlapping issues. I simply wanted to give you a quick
    heads up! Other than that, excellent blog!

  12. I’d like to thank you for the efforts you’ve put in penning this
    blog. I’m hoping to view the same high-grade content by you in the
    future as well. In truth, your creative writing abilities has inspired me to get my own, personal website now 😉

  13. By retaining our solutions, we may after that
    look after details, begin to review your case, and also prepare
    a defense that offers to provide the best feasible outcome
    for the instance.

  14. You will get the option of transferring data through the large data
    files. To compare one thing to another, you should know
    what are the first thing was. The enterprise information is fed into pricing and risk analysis data warehouse models.

  15. Should you need a return for an accounting period ending on or earlier than 30 November 2014, you may contact HMRC by cellphone.

  16. Great beat ! I would like to apprentice even as you amend your site,
    how can i subscribe for a blog site? The account aided me a applicable deal.
    I had been a little bit acquainted of this your broadcast provided vivid
    clear concept

  17. This ends in one more drive being combined with the initiator’s host machine.
    Most network storage devices now come with built-in data backup
    applications locally in addition to the cloud for additional protection and convenience.

    All the people in the LTO consortium never stop mounting groundbreaking next
    generation tape technologies that feature quicker
    backup speeds with massive storage capacity.

  18. Looking for the ideal providers in addition to their recovery plan along
    with the amount of numerous data centers
    they are using is incredibly important. The LTO2 Media,
    tape are perfectly matched wonderful branded LTO Ultrium 2 tape drive with backward
    read and write capability in this means it saves essential organization further investments.
    The reasons why a Collocation center is desired by the lot of business entrepreneurs are these claims affords a nominated amount of to protect the key data and applications utilized by the firm.

  19. The connection between VGA and computer is known as a typical method
    of connection. The LTO 3 183900, extremely
    smooth and rigid PEN base film offer accurate and consistent
    data read and write processes. All the folks the LTO consortium never stop mounting groundbreaking next generation tape technologies
    that come with quicker backup speeds with massive storage capacity.

  20. With havin so much content and articles do you ever run into any problems of plagorism or copyright violation? My blog has a lot of unique content I’ve either
    authored myself or outsourced but it seems a lot of it is popping
    it up all over the web without my permission. Do you know any methods to help stop
    content from being stolen? I’d genuinely appreciate it.

  21. The list, while extremely interesting, has become outdated as new
    centers are constantly being planned and built. Most network storage devices now come with built-in data backup applications locally or even the cloud for
    additional protection and convenience. The enterprise information is fed into
    pricing and risk analysis data warehouse models.

  22. The list, while extremely interesting, has quickly become outdated as new centers are constantly being planned and built.
    The LTO 3 183900, extremely smooth and rigid PEN base film offer accurate
    and consistent data read and write processes.
    The WORM cartridge keeps the data in perfect preservation for several years.

  23. You will get the option of transferring data from your large data files.
    HDMI also generates a outcomes of the devices having DVI video signals.
    The WORM cartridge keeps the information in perfect
    preservation for many years.

  24. Looking for the best possible providers as well as their recovery plan combined with quantity of
    numerous data centers actually using is quite important.
    A DMX usb is a superb hope once you simply can’t spend on an additional way to get your light show working
    appropriately for the really modest level of income. The enterprise
    details are fed into pricing and risk analysis data warehouse models.

  25. The 122- foot topsail schooner LYNX is going to sailing on Wednesday, April 2 2 into Oceanside, 2008 at 3 pm,
    join the flotilla as she shoots from her key battery
    of 6 -pounder carronades upon her grand entry.

  26. This ends in an additional drive being added to the initiator’s host machine.
    The LTO 3 183900, extremely smooth and rigid PEN base film offer accurate and consistent data
    read and write processes. Its sharper HD quality screen, better web
    browsing with flash, better multitasking, and even better speed with HSPA+,
    most of these fantastic features provide ake that you simply wonderful visual enjoyment.

  27. For most up-to-date information yoou have to pay a quick visit web
    and oon internet I found this web page as a best
    site for latest updates.

  28. My husband and i felt now lucky that Raymond could round up his research out of the ideas he came across using your web site. It’s not at all simplistic just to choose to be giving freely strategies people today may have been making money from. And we also figure out we’ve got you to be grateful to for that. All of the explanations you made, the easy web site menu, the relationships you help instill – it’s most sensational, and it’s really letting our son in addition to us believe that that situation is pleasurable, and that’s extremely important. Thanks for everything!

  29. In case I were the one having to write this article, all these
    readers would be unhappy. It’s a good thing you are the writer and you bring refreshing creative ideas to us all.
    This is attention-grabbing.

Leave a Reply

Your email address will not be published. Required fields are marked *