MS Dynamics variable formatting in email - email

I would like to use a title-case formatting in my email in Microsoft Dynamics on a name field that I would like to place, does anybody know how I make a variable title-case and or knows documentation on this?
This is the example:
Your city is: {{contact.contact_account_parentcustomerid.address1_city}}.
Thank you in advance!

Related

issue with DLOOKUP syntax error for new database

I have a database with 4 tables but primarily it is a diversion table/form (DiversionT/F) and a payback table/form (PaybackT/F). Basically, when my program loans parts to other programs in my organization a diversion is created in DiversionT. When the program want to payback they create a payback entry in PaybackT.
I have an issue that I am confused about: On PaybackF the user enters an NSN (long part code) that they want to payback. Ultimately, I want some of the form to auto populate with part info based on the NSN entered. The info is stored in DiversionT. I have created a few text boxes on PaybackF to show the info. The first text box I am trying to autofill based on the NSN is a textbox called PartName. It should search DiversionT for that NSN and fill in the appropriate PartName on PaybackF. In the control Source for the box I typed:
=DLookUp("[PartName]","[DiversionT]", "[PartName]=" & Forms![PaybackF]!NSN)
I get the following error:
The expression you entered contains invalid syntax.
To be perfectly honest I don't really understand VBA yet (spent my life until now with C, C++, Java, and Python) but looked up the function on the Microsoft site.
If I am not going about this right, please also let me know?
When using DLookup to get data, if you are dealing with text strings, you need to ensure that you use single quotes to wrap the text in.
Also, I think that your logic in the DLookup is slightly wrong. I think that this is what you are after:
=DLookUp("[PartName]","[DiversionT]", "[NSN]='" & Me!NSN & "'")
Regards,
You can't enter VBA in to form properties like source control. VBA is only used in procedural code in the VBE. That being said, there is a DLOOKUP function available to form fields and the syntax is similar. This is a cause of your confusion.
EXAMPLE SYNTAX FOR NUMBERS:
=DLookUp("[PartName]","DiversionT", "[PartName]=" & [NSN])
EXAMPLE SYNTAX FOR STRINGS:
=DLookUp("[PartName]","DiversionT", "[PartName]='" & [NSN] & "'")
NOTE:
I can't tell what form you are on or if NSN is from a parent form or subform. Basically, NSN needs to be readable from the same form where that text field exists.

Euro/currency sign after amount in SugarCRM

I want to move the euro/currency symbol in the sugarcrm quotes pdf's.
It is actually before the amount, but it has to be printed out after the amount.
Is it possible?
Example:
€4444 <- wrong
4444€ <- correct
Regarding this page:
http://www.evertype.com/standards/euro/formats.html
it seems that €4444 format is the correct one for Italy.
But the way I come to your post looking for the same issue.
Regards.

Registration form phpmailer and e-mail length

First of all i'd like to apologise for my english. I am student from Poland and i don't know php but i need something from code. http://pastebin.com/x0vUhj8V
I have encoutered a problem. On my website i can't register with mail which is shorther than (i miss word but here is example) - asd#wp.pl, asd#op.pl, asd#vp.pl
it also concern the part which is before "#" mark (asd) and after (wp.pl, op.pl, vp.pl) -3characters is minimum what is accepted for example asd#asd.pl.
I think somewhere in the code is declareted minimum length of e-mail or something, but with my "knowledge" od PHP I can't figure out which part... If someone could explain me what should i change i would be gratefull. Please help
Edit: My fault, here is code http://pastebin.com/dhGgZkPB that is used to call phpMailer.
Your English is just fine!
That version of PHPMailer is really old, over 10 years out of date. Get the latest from here. Beyond that you have not posted the code you're using to call PHPMailer so we can't say what you're doing wrong - if you need somewhere to start, look at the documentation examples here.
There is no particular lower length limit on email messages or addresses (so long as they are valid) - you can quite reasonably send a message containing 'a' to someone at 'a#a.co'.

Country_of_manufacture Importing Problems

We have recently started using Magmi to import products...needless to say, this is a great tool. We did, however, notice that country_of_manufacture attribute is not importing. Does anyone know what could cause this and how to solve this issue?
you have to use code
example: FR for France
Try not use the name of the country, but use the value of the country_of_manufacture attribute.
Example: for the United States, use US, not United States.
Country of Manufacture column
The following is a complete list of country_of_manufacture value in excel format:
Country of Manufacture List
It's hard to answer your question unless you will provide more information. Example CSV would be a good start.
The only things that I'm thinking of why magmi is not importing country_of_manufacture is that you are using full country code value, or your product does not have that attribute at all.
Double check that your products has this attribute.
Use short country code for country_of_manufacture.
Hope that helps.
The problem is, that the country_of_manufacture attribute uses an own source model.
I have changed the source_model in table eav_attribute to eav/entity_attribute_source_table. Then the options from the attribute management will be used and your import module will have the right option values...

Can't find instructions to get rid of HTML_TITLE_SUBJ_DIFF

Outlook 2013 tests my newsletter with a few tests, and gives the newsletter a Spam-Score of 3.9 (5 is required). I wan't to have the score as low as possible, but I can't find what to do at the "HTML_TITLE_SUBJ_DIFF"-Test, and nowhere is written what's that for a test is.
Do you have some experience with that?
Thanks in advance.
Regards, john
After digging configuration and sources of spamassassin-3.3.2:
Length of title in html seems to be 3.5 times longer than length of email subject.
Make html title shorter or email subject longer.
John -
You can always rescore the rule manually. In your local.cf file you can have a line like this:
score HTML_TITLE_SUBJ_DIFF 0.0
The scores in the local.cf override all scores elsewhere.