Title: Twig syntax
Last modified: June 8, 2018

---

# Twig syntax

 *  Resolved [okayaelectric](https://wordpress.org/support/users/okayaelectric/)
 * (@okayaelectric)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/twig-syntax/)
 * Hello-
 * I have just started testing the plugin (wow — very nice!) but have a question
   about the Twig syntax to show a 365 view on a web page.
 * This is my code:
 * [msdyncrm_twig]
    {% view entity=”product” name=”Character OLED on Website” count
   =”10″ cache=”PT30M” %}{% endview %} [/msdyncrm_twig]
 * When I publish the page and load it, I receive an error: Unexpected error. Please
   try again.
 * Do I need to build out a template to display the results?
 * Thank you.
    Joe

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [alexacrm](https://wordpress.org/support/users/alexacrm/)
 * (@alexacrm)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/twig-syntax/#post-10412643)
 * Hi Joe,
 * the quotes you’re using seems to be “smart quotes”, e.g. ” as opposed to the ”
   quote. That usually happens when code is copied and pasted from something like
   Word or Outlook. Can you please verify that your code is using straight quotes?
 * Thanks
    George
 *  Plugin Author [alexacrm](https://wordpress.org/support/users/alexacrm/)
 * (@alexacrm)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/twig-syntax/#post-10412714)
 * Hi Joe,
 * one other thing, in twig the values are actual properties, e.g. count is an integer.
   Try using count=10, i.e. without quotes.
 * Cheers
    George

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Twig syntax’ is closed to new replies.

 * ![](https://ps.w.org/integration-dynamics/assets/icon-256x256.png?rev=1589904)
 * [Dynamics 365 Integration](https://wordpress.org/plugins/integration-dynamics/)
 * [Support Threads](https://wordpress.org/support/plugin/integration-dynamics/)
 * [Active Topics](https://wordpress.org/support/plugin/integration-dynamics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/integration-dynamics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/integration-dynamics/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [alexacrm](https://wordpress.org/support/users/alexacrm/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/twig-syntax/#post-10412714)
 * Status: resolved