![]() Speechnotes is a powerful speech-enabled online notepad, designed to empower your ideas by implementing a clean & efficient design, so you can focus on your thoughts. Distraction-free, fast, easy to use web app for dictation & typing. Professional, accurate & free speech recognizing text editor. Apex class GoogleSpeechService will generate translated text using API.Īdd this component to case page layout.Speech to Text online notepad. Let us use that access token from metadata to create transcribe text. This transcribed text is added in case comment.Īs we have access token from first lightning component into custom metadata. ![]() This component will take case id and generate transcribed text from any attached audio file on specific record. Let us create another lightning component. Url of this tab should be added in step 3 of prerequisites. This class will be called from class GoogleAuthService.Ĭreate a tab for this lightning component so that it will be accessible easily. Add class MetadataService to update access token value. Create custom metadata to store access token for later userĬreate one custom metadata type named GoogleAuthSetting and add field AccessToken in it. ![]() It will use above mentioned GoogleAuthService class to generate token.Ĭ. GoogleAuthComponent component is created for getting access token. Create Lightning component to get access token This token will be saved in custom metadata for further use. GetAccessToken: This apex method will generate access token. This url will generate token after you authenticate using google credential created in step #1.ĬreateAuthURL – This apex method will create authentication redirect url. Create Apex class to generate URL for getting access tokenĬreate apex class GoogleAuthService to get authentication url. Create custom metadata to store access token for later user.Ī.Create lightning component to get access token.Create Apex class to generate URL for getting access token.Below steps will be used to get access token Let us Authenticate Salesforce App and get access token from Google authentication service. Get Access Token from Google Authentication Service Second Lightning Component to get Transcription from Speech APIġ. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |