I am trying to modify the delivery form. And want to add the follow function:
Add a button in the "email delivery form", and when the button was clicked, the Internet Explore can be open
and redirct to a specified URL.
I meet the follow issuse:
(1) What is the method/API to open an Internet Explore and explore the URL i want in a form.
(2) Can I get the operator/account's username or email the current login Adobe Campaign Client Console?
(Because i will verify the authorization of account who login to the Client Console before open the Internet Explore)
So for your use case, if it is convenient for you to use integrated webView (inside the Adobe Campaign client) instead of opening it directly in IE, it is enough to use the <input type="urlViewer"> that I mentioned in my post, with the visibleIf/accessibleIf filtering based either on HasNamedRight (recommended) or $(login) operator information.
As Florent said, it would be better to tell which XML form you want to modify, in order to better help.
I guess it is one of nms:delivery, nms:deliveryDet, nms:newDelivery depending on your need. Or one of their subforms.
Whatever the form you have to change, the global idea is to use this specific input xml element type, urlViewer.
Please note that this type urlViewer is not mentioned in the JS API v6.1 documentation.
(The urlButton type is intended to act only as the Button input type, so internally to the form, even if SOAP methods can be called in <enter> or <leave> sections.).
The good think is that <input type="urlViewer"> element can be used to open the html target page (standard web page, AC report, etc) directly in the Adobe Campaign client, either inside another form/container, as a subform with type="frame", equivalent to an iFrame behavior, or in a plain new tab of the Adobe Campaign client).
I don't know if it is possible to open the target page directly in the Internet Explorer browser.
In order to be clearer, let me mention some examples:
So it gives an idea of many integrations/combinations possibles for carrying out your intended specific customisation of delivery (WeChat channel).
Regarding the right access privileges, I recommend to use a dedicated Group operator to restrict access to your functionality, rather testing operator id/email. Many samples describe this mechanism in JS API documentation, but for instance see CheckRights method of xtk:operator.
Sorry, I missed the email.
we extended a channel and add modify the nms:delivery form as the follow.
The "media" is on our SaaS platform, So I am finding a way：
（1） open a web view or Internet explore and the user can explore the media on our SaaS web platform by Internet Explore when "Open media" clicked.
（2） The authentication token to enter our SaaS platform will be get from our SaaS platform before (1).
Do you have any update on this? Were you able to do it?
Let me know,
Can you share a screenshot of the form you want to modify?