How to disable Adaptive card button on once click in direct line channel - bug-tracking

I want to limit the adaptive card button click to once in direct line channel. I have already tried UpdateActivityAsync but its throwing error 'methodnot valid' as it is direct line channel. Is any other possible way to disable button un direct line

Related

Chrome API chrome.desktopCapture.chooseDesktopMedia - How to get the id of selected tab?

I am using desktopCapture.chooseDesktopMedia with only ["tab"] option to choose the tab to be streamed. After making the selection, chrome doesn't automatically switch to the selected tab. How can I get the tab ID that was selected so that I can make it active? I only receive a stream ID in the callback.
Good question, but reading the docs seems to suggest you don't get that information in any way, nor can you change the flow to having the user select the tab first and then offering only that tab for capture.
Might be a candidate for a feature request over at https://crbug.com/

How to Do the next process when i am click the button in bot framework by using Thumbnail Card

I am developing one bot frame work project in that I have some requirement is like below.
whenever I click the button in Thumbnail card next I want to display the List of Items in horizontally after displayed the List of items, Next I click on any one List of item it will be redirected to My Own URL.
Present I am displaying Thumbnail Card like below
Now I want to display the list like below when I am click the button
None of the current channels support arbitrary card designs as of yet, so you are limited to the set provided by the channel (i.e. Skype, Facebook, Telegram, etc.)

Docusign API Custom Button with SFDC - giving error

I am trying to create a custom button for Sales to drive a custom routing and I'm getting the following error: "A problem with the OnClick JavaScript for this button or link was encountered: Unexpected identifier"
Here is the text of the button. I'm having a hard time troubleshooting this, because the error is rather vague.
Here's the Code:
{!REQUIRESCRIPT("/apex/dsfs__DocuSign_JavaScript")} var RC='';var RSL='';var RSRO='';var RROS='';var CCRM='';var CRL='';var CCTM='';var CCNM='';var CRCL='';var OCO='';var DST='';var LA='';var CEM='';var CES='';var STB='';var SSB='';var SES='';var SEM='';var SRS='';var SCS ='';var RES='';RC='';RSL='2';RSRO='';RROS='';CCRM=''CRCL='';CRL='Email~matt.moog#powerreviews.com;FirstName~Matt;LastName~Moog;Role~Signer 2;RoutingOrder~2;Email~legal#powerreviews.com;FirstName~Legal;LastName~Department;Role~Carbon Copy;RoutingOrder~'Email~{!Opportunity.OwnerEmail};FirstName~{!Opportunity.OwnerFirstName};LastName~{!Opportunity.OwnerLastName};Role~Carbon Copy;RoutingOrder~3';CCTM='';CCNM='';CRCL='';OCO='';DST='';LA='0';CEM='Hello,I am sending you this request for your electronic signature, please review and electronically sign by following the link below.We highly recommend that you use the electronic signature to speed the process, however, if you do need to sign manually, please click the MORE button at the top of the Docusign screen and select the "Sign on Paper" option - and complete the process as defined in the dialog box in Docusign. Otherwise, there may be delays in the execution of this process.We appreciate your cooperation.';CES='PowerReviews Request to eSign Contracts - {!Account.Name}';STB='1';SSB='1';SES='1';SEM='1';SRS='1';SCS='1';RES='1,2,2,1,15,3';window.location.href = "/apex/dsfs__DocuSign_CreateEnvelope?DSEID=0&SourceID={!Opportunity.Id}&RC="+RC+"&RSL="+RSL+"&RSRO="+RSRO+"&RROS="+RROS+"&CCRM="+CCRM+"&CCTM="+CCTM+"&CRCL="+CRCL+"&OCO="+OCO+"&DST="+DST+"&CCNM="+CCNM+"&LA="+LA+"&CEM="+CEM+"&CES="+CES+"&SRS="+SRS+"&STB="+STB+"&SSB="+SSB+"&SES="+SES+"&SEM="+SEM+"&SRS="+SRS+"&SCS="+SCS+"&RES="+RES;
You have CCRM=''CRCL=''; it needs to be changed to CCRM='';CRCL='';

How to identify a button click in coded UI Customised code

In UIMAP.CS file in both the Recorded method and assertion method, I am not able to identify the button click.
Is there any way I can get hold of the button click event?
I am able to get hold the button in to a UITESTCONTROL variable but the options I was able to see are "exists", "enabled","name" etc...
I tried checking it with assertions too when I dragged the cross hair on to the clicked button , assertions are generated only for checking the existence,correctness of text and name but not the events occured on it..
Please help in this regard..
Please make sure that the Control/Object on which you want to use the Click operation is a button and not any Web Element or control which does not support the Click operation.
Once verified, you can do the following:
Record a New Session and while recording click on that button, stop your recording.
Open the UIMap.cs and navigate to that button control. The intellitrace would show you all the available options for that control.
Thanks
Nikhil

Launch a new activity on click of an linkify Phone number

I have a screen on which a weburl and a phone number is linked.
When i clicks the "phone number link" it goes to dialpad and shows the number on dial pad,then if i want to make call i have to press dial button.
What i need to do is to directly make an call when i clicks the phone number itself.I dont want dial pad screen to show to the user.
and keep in mind i have a full textView in which there is some message as well as the link to phone number.
So i think onClick() of textView will not be applicable here.
Please guide me through it if u can.
Thanx in advance :)
You need to add this permission line to your AndroidManifest.xml file if you want to auto dial
<uses-permission android:name="android.permission.CALL_PHONE"></uses-permission>
Regards,
Mark

Resources