Post

1 follower Follow
0
Avatar

Actuivity / API / Enhancement

Hi, 

Activity API is a huge improvement. While designing some of my new API call based actions I noticed that I miss the ability to have "action" buttons.

So I would like to ask for a way to control a number of buttons in an activity:

 

YES/NO

DO

More info

 

I believe there will never be more than 3 buttons display at the same time (because Yes and DO) are very similar.

The URL should have a Type attribute , which allows to say this is POST (No Window should be opened) , NEW Window, Same Window

Also the Button should have a Text attribute 

Should look something like this

 

Regards

Reinhard 

{
  "User": {
      "Upn": "anthony@w365support.onmicrosoft.com"
  },
  "Icon": {
      "Name": "Accounting"
  },
  "Title": "Approve Expenses for Reinhard",
"Buttons": {
"Count": 3,
"Button1": {
"Text": "Yes",
"URL": "https://accounting.intra.customer.com/expenses/approve/?ID=reinhard.travnicek@acp.at?Action=Yes",
"Type": "POST"
}
"Button2": {
"Text": "No",
"URL": "https://accounting.intra.customer.com/expenses/approve/?ID=reinhard.travnicek@acp.at?Action=No",
"Type": "POST"
}
"Button3": {
"Text": "More Info",
"URL": "https://accounting.intra.customer.com/expenses/approve/?ID=reinhard.travnicek@acp.at?Action=Show",
"Type": "New Window"
}
} "Color": { "Kind": "Primary" } }
Reinhard Travnicek

Please sign in to leave a comment.