yogiz
Forum Replies Created
-
Forum: Plugins
In reply to: [Dataverse Integration] Unknown “view” tag in “template_”Hi George,
Any idea when views and forms will be available?
I know in the meantime we can use Custom Forms, I am just wondering how I would populate a lookup (entityreference) since it is compromised of 3 parts (entityname, logicalname and GUID)
Looking at the D365 Plugin I could define a default. I have tried
{% form entity="fsm_offertocustomer" mode="create" default="fsm_offerid": { "LogicalName": "fsm_offer", "Id": "68EA116A-C304-EB11-A813-000D3A4A1F88", "DisplayName": "Free Beer" } %}But this is not working. The record is being created but the lookup field fsm_offerid is empty.
Forum: Plugins
In reply to: [Dataverse Integration] Unknown “view” tag in “template_”That did the trick!
Thanks for your help.
Forum: Plugins
In reply to: [Dataverse Integration] Unknown “view” tag in “template_”Hi George,
Any advice on how to resolve the above?
Much appreciated.
Regards,
JurgenForum: Plugins
In reply to: [Dataverse Integration] Unknown “view” tag in “template_”Sure:
{% fetchxml collection="offers" %} <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false"> <entity name="fsm_offer"> <attribute name="fsm_offerid" /> <attribute name="fsm_name" /> <attribute name="fsm_account" /> <order attribute="fsm_name" descending="false" /> <filter type="and"> <condition attribute="statecode" operator="eq" value="0" /> </filter> </entity> </fetch> {% endfetchxml %} <ul> {% for offer in offers.results.entities %} <li>{{offer["fsm_account"]}}</li> {% endfor %} </ul>fsm_account is a lookup to the Account entity
when I use
<li>{{offer["fsm_name"]}}</li>
it works no problemForum: Plugins
In reply to: [Dataverse Integration] Unknown “view” tag in “template_”Hi George,
Thanks for your answer.
I have actually tried the workaround using FetchXML and this works fine as long as there are no lookup fields inside the display section.
I use the display source code example in your documentation just with my own entities.
eg:<li>{{record["name"]}}</li>This works fine but when I try to display a lookup
<li>{{customer["accountid"]}}</li>I cannot even save the page as I receive an Invalid JSON error.
What am I doing wrong here?
Forum: Plugins
In reply to: [Dynamics 365 Integration] Unknown “view” tag in “template_”Oh, Sorry about that.
Will copy over the query to the correct support page.
Thanks