Expand my Community achievements bar.

SOLVED

About get the operator in Client Console

Avatar

Level 3

Hi:

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)

Best regards.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi tumuzhuanjia,

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.

Regards
J-Serge

View solution in original post

5 Replies

Avatar

Level 10

Hi,

Can you share a screenshot of the form you want to modify?

Thank you,

Florent.

Avatar

Level 10

Hi,

Do you have any update on this? Were you able to do it?

Let me know,

Florent.

Avatar

Level 10

Hello tumuzhuanjia,

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:

  • the Deliverability report that is available in the Welcome home tab>Menu Monitoring>link Deliverabilty:
    the form is nms:deliverabilityReports and it opens the report web page of external site (Adobe site) inside AC client as a new tab
    <input type="urlViewer" urlExpr="'http://deliverability.neolane.net/jssp/xtk/report.jssp [etc]/>
  • many urlViewer uses in the formlib library (with most often sessiontoken=true)
  • dashboards use them often to display reports or jssp
  • the webApp dashboard (1st tab) is actually an html web page, while other tabs are xml forms (and so it display the published URL and because being an (integrated) web page, it is easy to open the target url in a browser.

Perhaps the code that we can use in a webApp Javascript activity could work, I don't know (response.HttpServetRequest.forward("XXX"),

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.

Good luck.


Regards

Jean-Serge

Avatar

Level 3

Hi florentlb:

Sorry, I missed the email.

we extended a channel and add modify the nms:delivery form as the follow.

2017-08-10_100535.jpg

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).

Avatar

Correct answer by
Level 10

Hi tumuzhuanjia,

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.

Regards
J-Serge