• Webseitenerstellung und -hosting
  • .NET Anwendungsentwicklung
  • softwaregesteuerte Prozessoptimierung
  • .NET

    Programmierung

  • WebseitenErstellung

    undHosting

  • softwaregesteuerte

    Prozessoptimierung

  • Konzeption

    und Beratung

%PM, %06. %671 %2011 %15:%Mai

Link zur Entität in einer Workflow E-Mail

geschrieben von
Artikel bewerten
(0 Stimmen)

Zustand: Beim Erstellen einer Entität wird automatisch eine E-Mail generiert. Problem: Will man sich diese Entität nun ansehen muss man erst ins CRM und dort danach suchen. Schön wäre es doch wenn man nur auf einen Link klicken müsste um zur Entität zu gelangen. Leider hat man dieses Feld im E-Mail Design nicht zur Verfügung. Workaround: 1. Man legt in dieser Entität ein neues Attribut an. Wichtig ist hier das Format "URL". Dieses neue Attribut muss man leider in der Form anzeigen anzeigen um es später manuell bestücken zu können. Da ich dies aber nicht möchte setze ich es im "OnLoad" auf Unsichtbar (siehe Script bei Punkt 2) 2. Dieses Feld bestückt man im "OnSave" Ereignis der Form mit der Url. Zuvor muss man allerdings die ObjectID der Entität generieren, was leider erst beim speichern geschieht. Dort ist es aber u.U. (wenn man die Entität zum ersten mal speichert) zu spät. Deshalb löst man im "OnLoad" ein Speichern Ereignis aus. Als Kriterium ob diese Entität neu erstellt wird habe ich einfacherheitshalber ein Pflichtfeld generiert welches beim Erstellen der Entität leer ist, bei einer erneuten Speicherung nicht, da eben ein Pflichtfeld. "OnLoad": // das interne Feld "Link" ausblenden crmForm.all.new_link.style.display = 'none'; //SS Felder vorinitialisieren und Beschwerde speichern um Objektid zu erhalten (wird für den Link benötigt) if (crmForm.all.new_beschwerdeid.value=="") { crmForm.Save(); } "OnSave": crmForm.all.new_link.DataValue = 'http://tripodsss-crm1/instanz1/userdefined/edit.aspx?id=' + crmForm.ObjectId; Anstelle von "userdefined" setzt man das entsprechende Kürzel der Entität (conts, lead, etc).  Den Link findet man auch durch drücken der Taste F11 ( öffnen der Browserleiste) in der Entität. nicht vergessen, das Ereignis zu aktivieren! 3. jetzt hat man dieses Feld im E-Mail Designer im Workflow zur Verfügung:  

 
Gelesen 52065 mal Letzte Änderung am %AM, %25. %315 %2015 %06:%Jun

136 Kommentare

  • Kommentar-Link stromectol usa %AM, %26. %064 %2021 %00:%Nov gepostet von stromectol usa

    ivermectin pinworms ivermectin tablets uk buy liquid ivermectin for dogs online how long for ivermectin to kill scabies

  • Kommentar-Link plaquenil buy online %AM, %23. %469 %2021 %10:%Nov gepostet von plaquenil buy online

    loop diuretics furosemide furosemide 20mg tablets cost side effects of furosemide lasix how long should a person take lasix

  • Kommentar-Link prednisone 20mg price %AM, %22. %361 %2021 %07:%Nov gepostet von prednisone 20mg price

    provigil withdrawal symptoms cheap provigil canada where to buy modafinil in the us how to get modafinil to supress your appetite

  • Kommentar-Link ivermectin generic %PM, %21. %005 %2021 %23:%Nov gepostet von ivermectin generic

    plaquenil toxicity eye can plaquenil cause eye twitching plaquenil how long to work

  • Kommentar-Link pill provigil 200 mg %PM, %21. %712 %2021 %16:%Nov gepostet von pill provigil 200 mg

    neurontin migraine neurontin medication neurontin is used to treat why can't i take antacids with gabapentin

  • Kommentar-Link stromectol for humans %AM, %21. %262 %2021 %05:%Nov gepostet von stromectol for humans

    priligy with phenibut priligy canada online super p force sildenafil 100 dapoxetine 60 how much cost priligy dapoxetina 30mg

  • Kommentar-Link priligy 60mg online %PM, %20. %578 %2021 %12:%Nov gepostet von priligy 60mg online

    prednisone package insert prices for 5mg prednisone is 20 mg prednisone a high dose what happens if you miss a dose of prednisone

  • Kommentar-Link buy stromectol canada %AM, %20. %128 %2021 %02:%Nov gepostet von buy stromectol canada

    amoxil and breastfeeding amoxicillin for sale side effects of amoxil postulate amoxil 500 mg for urinary tract infection

  • Kommentar-Link prednisone 5mg pills %AM, %19. %444 %2021 %09:%Nov gepostet von prednisone 5mg pills

    plaquenil dosage coronavirus plaquenil singapore how does plaquenil treat lupus what is the active ingredient in plaquenil

  • Kommentar-Link ventolin generic %AM, %19. %192 %2021 %03:%Nov gepostet von ventolin generic

    neurontin overdose symptoms how much is gabapentin 600 mg is it possible to od on neurontin gabapentin 300 mg what is it used for

Schreibe einen Kommentar

Bitte achten Sie darauf, alle Felder mit Stern * zu füllen. HTML-Code ist nicht erlaubt.