Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
5132 Vizualizări

I have something like this in my view for a custom module:

 <field name="arch" type="xml">
            <xpath expr="/form/sheet/notebook/page[@string='Contacts']" position="after">
                <page string="External">
                    <iframe src="http://www.example.com?email=__EMAIL_SHOULD_GO_HERE__"></iframe>               
              </page>
        </xpath>
  </field>

where __EMAIL_SHOULD_GO_HERE__ currently is, I need to insert the partner's email. What is the best way to get that value in there?

The only examples I've found use something like:

<field name="email"></field>

Thanks.

Imagine profil
Abandonează
Autor

If you wanted to insert the partner's name into the xml, in the place where "XXXXXXYYYYYYYYYZZZZ" currently is, how would you do that?

Related Posts Răspunsuri Vizualizări Activitate
0
mar. 15
3312
6
sept. 17
8200
1
dec. 16
5694
1
mar. 15
4438
2
mar. 15
9940