Remove or hide the DocuSign envelope ID tag from a downloaded attachment document [duplicate] - attachment

This question already has an answer here:
DocuSign REST API Remove EnvelopeID from PDF
(1 answer)
Closed 7 years ago.
Related to;
how to get "envelope ID" displayed in the bottom corner in docusign completed Document
I desire to keep the Envelope ID tag on the signed document

The Envelope ID Stamp Control feature in Preferences >> Features gives you the ability to set the Default ID stamp behavior (enable or disable) for Envelopes that are sent via the account. If you NEVER want ID stamped on any of the envelopes sent via the account, then click the "Envelope ID stamp control" link, select "Remove Stamps" and Save.
Additionally, even if the ID Stamp is enabled at the account level (i.e., "Stamp Pages" is selected in Preferences >> Features >> Envelope ID Stamp Control), you can still override this setting for each individual envelope you send. Via the REST API, you should be able to do so in the API request to Create the Envelope (POST /accounts/{accountId}/envelopes), by setting the envelopeIdStamping property to false -- to prevent the stamp from being added for the envelope being sent.
UPDATE
DocuSign has since released a new UI for their Website App, to access the above features you may need to switch back to the Classic View from your Account Preferences.

Related

How to get the Slack DM channel ID of the Slack App

I have created a simple Slack App app where the only purpose is to send a message to a channel. I understand that there is the conversations.list API to list all public channels to get the correct ID.
However, as a first step, I just want to send the message to the app channel itself. If I use the D... ID it works as expected. No invite by the channel is needed. But how do I get this ID? conversations.list only returns publich channels, but no the app channel itself.
In Slack, there is no such thing as an app's channel. There is a DM channel between every user and your app/bot. In these terms, to send a DM message from your app/bot to the user, you need to know ID of this user and specify it as a channel argument of the postMessage API request.
The ability to pass a Slack user ID as channel is somewhat unique to chat.postMessage. If you try this with other API methods which expect a channel ID only (conversations.info), you'll get "error": "channel_not_found". The docs state:
Begin a conversation in a user's App Home
Start a conversation with users in your App Home.
With the chat:write scope enabled, call chat.postMessage and pass a user's ID (U0G9QF9C6) as the value of channel to post to that user's App Home channel. You can use their direct message channel ID (as found with im.open, for instance) instead.
Source: https://api.slack.com/methods/chat.postMessage#app_home
Note: The above behavior assumes you're using the bot token. If you provide the user token instead, you'll make the user DM themselves.
Now, if you *do* need to get a user's App Home channel ID for use outside of chat.postMessage, keep reading... Here are three ways to do it, each with their own shortcomings:
1. chat.postMessage
Well, it's worth mentioning that if you are going to use chat.postMessage, it returns the resolved channel ID in its response: "channel": "D01234ABCDE". You can save this for later use.
2. conversations.open
The API method im.open referenced in the docs above has been renamed to conversations.open, which can be used to obtain the user's App Home channel ID:
Use the user token, and set users to the app bot ID, or
Use the bot token, and set users to the user ID.
Though, I've observed some weirdness with conversations.open, which may or may not be a dealbreaker for you:
It requires stronger OAuth permission scopes than ones required to initiate a private DM with a user than chat.postMessage (a bot token with chat:write is insufficient), and
It behaves strangely with respect to the "open state" of a conversation. For example...
I tested this method with a user token.
The user for that token already had a DM channel with the app! (Doesn't that mean the conversation is already open?)
Strangely, the first response had is_opened: false (and subsequent responses had is_opened: true).
3. app_home_opened
The event app_home_opened fires when the user opens your App Home. If you handle this event, you can save the channel in the event payload on your server and use it later, obviating the need to later call conversations.open.
Since the event only occurs if and when the user opens your app's App Home, this approach is more of an optimization than a standalone solution.
4. A better way...?
Due to the drawbacks outlines above, if anyone knows a better way of getting the App Home channel ID for a Slack user, please, comment on this answer!
You can get the channel ID of the app channel through the GUI if you:
navigate to a message in the channel
go to the more actions men
select copy link
The channel ID will be the string following archives/ eg:
{myorg}.slack.com/archives/{channel_ID}
Using this approach would work for any channel in the slack app, though it's unlikely to be the best approach since it's manual vs something more programmatic.

Where do I find my or my customers YouTube "content owner id"?

Am trying to figure out the API. Were in the web interface can, as an administrator, find the "content owner id" of my managed accounts?
All I see is this:
"To retrieve a content owner report, call the API's reports.query method and set the ids parameter value in the API request to contentOwner==OWNER_NAME, where OWNER_NAME specifies the content owner's ID. Ask your partner manager if you are unsure of the value."
Surely I don't have to call Google to get this value?
If you want to know the content owner id of only one account, you can check the URI.
There are various ways to retrieve the id from the URI:
Log in on https://studio.youtube.com/ and switch the account to the
one you're trying to get the id of (on the top right click on the
account logo, then on "Switch account"). When you've switched to the
new account, the content owner id should be in the URL in the part
that follows https://studio.youtube.com/owner/.
Go to https://www.youtube.com/analytics and switch to the desired
account. The content owner id is what follows
https://www.youtube.com/analytics?o= and before &ar.
The second option should also work for other sections in the Youtube
creator studio.
If you want to retrieve a list of all content owner IDs linked to your admin account, it's much easier to do it via the API. If you don't want to write a script for that, you can just use the Google API explorer (on the right) here: https://developers.google.com/youtube/partner/docs/v1/contentOwners/list
Just set fetchMine to true and sign in to your account. The output below should give you a list of the content owner names, IDs and other info.
To retrieve the content owner IDs via the API, samples can also be found here:
https://developers.google.com/youtube/partner/code_samples/
(check the docs "Retrieve a content owner's managed channels (channels.list)" in your language).
You may refer with this SO answer on how to get the content owner id.
Assuming you have an OAuth 2 token with access to the https://www.googleapis.com/auth/youtubepartner scope, you can make an API call to youtubePartner.contentOwners.list(fetchMine=true) to get back a list of YouTube content owners associated with the current OAuth 2 token. (There will normally only be one item returned.) You can then get the content owner id value from the id property of each item in the items list that's returned. This is the value that you can use when making content owner YouTube Analytics API reports, or using the onBehalfOfContentOwner delegation parameter in the YouTube Data API v3.
You need to query youtubePartner.contentOwners.list(fetchMine=true) to obtain the content owner info. Also make sure that you have this API available in your console or ask your partner manager if you are eligible for this API.

Failed to create cloud account while adding an Object Storage Service

I am Trying to create a new free Object Storage Service for testing - and I am getting error:
Service broker error: {"description"=>"Failed to create cloud account."}
I have other Bluxmix services created, and can remove/create other services.
I am only receiving this error while trying to add the IBM Object Storage
The object storage service has some issue. You can see the service's status on status page here: http://ibm.biz/bluemixstatus
You can also be alerted of any notifications by subscribing to the RSS feed for the Bluemix Status page. This approach provides a way for you to get updates without having to regularly consult the status page.
Use the Support Widget to open a ticket. It is available from the user avatar in the upper right corner of the main Bluemix UI. After opening the support widget panel, select Get Help > Get In Touch, select the type of assistance you need, and then fill out the support form.
Use the Support Site 'Get Help' form. This form is available on a separate site that is made available for ticket submission when you cannot log into Bluemix and access the Support Widget. Go to http://ibm.biz/bluemixsupport and fill in the support request form.
I was seeing the same error with Object Storage. I contacted Bluemix support and they told me this error was occurring because "my name had raised a false flag against the U.S. debarred parties list." They said this is very rare, and the only way to fix the problem is to contact support with a request.
To contact support:
Login to Bluemix
Open the account tray by clicking the avatar in the top right
Click “Get Help”
Click “Get In Touch”
I'm now able to provision Object Storage.

Facebook OpenGraph API: Can I Silently Send a Request from One User to Another?

How do I send a facebook app requests from one mobile user to another using the Graph API?
I have looked at facebooks documentation but the only options I have found are to A) send an app to user message from the app (which I can't get working) or B) to use the request dialog, which doesn't seem to let me send a request to a single user.
FB has instructions for how to build a custom "Multi-Friend Selector" but apparently not for mobile.
I have tried using HTTP POSTing to
https://graph.facebook.com/%s?access_token= ...
with POST data set to
message='Test Message'
but I get
WWW-Authenticate: OAuth "Facebook Platform" "invalid_request" "(#2) Failed to create any app request"
I have also tried in the Graph API Explorer but I get the same thing.
I don't want to send these messages to users that have installed the app and I don't mind the user having to provide confirmation for the FBFrictionlessRecipientCache. Also, my app is in Sandbox mode, but I only need to send the requests to the other developers.
I am looking for anything that will let me do multi-friend selectors or ask for lives, or get help from a friend, like I see in several mobile games these days.
You can use presentRequestsDialogModallyWithSession from FBWebDialogs.
You must specify a "to" parameter to identify the recipient, and you must use the FBFrictionlessRecipientCache.
The "to" parameter identifies the recipient. It stops the select user dialog from appearing.
The first time you send the request to each recipient the user will have to grant permission. After that, the FBFrictionlessRecipientCache will allow the request to be sent relatively silently (a dialog pops up briefly and goes away by itself).

Using the DOCUSIGN API in MVC , need to authenticate the logged in user [duplicate]

This question already has answers here:
DocuSign ID Check with Embedded signing
(2 answers)
Closed 8 years ago.
I have a website where in the user is shown a docusign template for his signature on the sales contract. Before i do that i need to verify if the user is a legitimate user. Is there a way to have the ID check that Docusign Provides in their website implemented through the web page i'm working on. I tried searching for some useful links ,
http://community.docusign.com/t5/DevCenter-Program-Feedback/Phone-ID-Check-authentication-through-the-API/td-p/2521
http://community.docusign.com/t5/Dev-Zone-MOVED-TO-STACK-OVERFLOW-Use-tag-DocuSignAPI-old/ct-p/dev_zone
but they show access denied (I have a demo account).
Please do let me know if you need any more details. Appreciate the help
There might be a bug here, but I got this to work by specifying the RSA ID Check in the template recipient authentication settings, then when I reference that template in an Embedded Signing API call it starts out on the ID Check before allowing access to the envelope.
Doing this confirms that you can combine RSA ID Check with Embedded Signing, so that's the answer to that part. However the fact that I had to set the RSA authentication at the template level in the Console and the requireIdLookup property in my requests seems to be ignored makes me think that there's a bug.
I will follow up with DocuSign with regards to that property not having an effect on the envelope, however for now you should be able to get this to work as specified above. If you sometimes use that template and do NOT want the RSA ID Check for recipients, then you can simply make another template that's exactly the same but add the ID check in, and reference that new template in your API calls and use the first template when you don't want RSA ID Check.

Resources