How to setup the Pre-Chat form for Live Agent in Salesforce? - salesforce

I am newbie to the salesforce and working on the Live Agent setup and its other useful features. Now I am looking to implement the Pre-Chat form, but I dont see the option to choose form. I see the below, Could you please guide what setting needs to be done ?
I have created a custom VF page and now I want to choose that form. But I dont see that option. I created the Pre-chart form using : https://developer.salesforce.com/docs/atlas.en-us.live_agent_dev.meta/live_agent_dev/live_agent_pre_chat_forms_code_sample.htm

For that we need to register the site for your own force.com site like below and then only you will be able to see the
And Now you will be able to see

Paste the URL of the page eg. https://cs-19.salesforce.com/apex/PreChatForm in the Pre Chat Form field

Related

Salesforce Lightning - how to set nooverride for Lightning, but retain override in Classic

We are planning to migrate our users from Classic to Lightning with a phased roll out. That means we need to retain all the behaviours of Classic and Lightning in parallel for a period of time.
That's working well, except for Button Overrides. There doesn't appear to be a way of configuring Lightning to use the standard edit behaviour, while Classic retains an edit form override. For classic the options available are No Override, Custom S-Control and Visual Force Page. However, the only options available for Lightning are Lightning Component or Use the Salesforce Classic override. There's no option for No Override.
We tried writing a custom Aura component to re-direct to the edit page with ?nooverride=1 but that doesn't work - the user is re-directed, but once the edit page is closed and saved, the user is left on a blank page, not re-directed back to the view of the edited page.
Does anyone have a workaround, or explanation as to why this seems not to be possible ?
whenever you specify a Url as a retURL parameter Salesforce will redirect to that url.
Now in Salesforce Classic view page means xxx.salesforce.com/IdOfRecordToView so You can try retURL parameter in URL with the value of Salesforce Record id which you are editing
example : xxx.salesforce.com/a010000000000qn/e?retURL=%2Fa010000000000qn&nooverride=1

Microsoft Teams modify Save button in Connector setup page

I am currently working on the setup page for my custom MS Teams Connector.
For inspiration, I was looking into other companies and one particular thing caught my attention.
Teams usually has at the bottom 2 buttons, like here in my setup page:
I have no Problem communicating with them using the #microsoft/teams-js client SKD and could make my page work like it is now. But I got curious how to do it with custom buttons like other Companies.
For example Trello:
Like you can see they moved the buttons up and also have a login button.
I also need to add authentication form my Connector, so I was wondering if its possible to archive a similar layout for my Connector.
For the Setup page I am using web app created with create react app
So my questions are:
Is this possible using react?
If yes how is it done?
I could not find much documentation regarding this topic.
The behavior is by design. Quite a while back we started giving developers more control in the tab configuration flow and allow them to render their own button within the iframe. Everything within that task module is now controlled by the app.

How to add a custom web page in Jenkins?

I am trying to make a web-page which displays the dynamic web page - basically it displays a table comprising of Name, IP_Address, and Group Name with used check/uncheck box. This webpage can run on a different tcp socket so it can be
https://myjenkins:5909 . Next, I want to add this table information in the mongo-db and read back the data and show on the web page - that table. What are the required steps for me? First is it possible? Here is my understanding that I have to write a back hand code using Jenkins plugin. Now, how to add the front end page like my custom page in Jenkins. Also, how database can be handled by the backhand Jenkins plugin? Sorry, I am new to these things. Any idea or details will help me. Also, is it possible to use LDAP based user id and password in my form.

Making a link pulled from a database active

I'm creating a social network, and in the user info section I've made it possible for the user to add there Facebook link into the database table via a input form.
Now when they add this link, it sends it to the database and then it returns and echo's out the submitted data into both the user info page and the user status stream, this enables others can see there newly updated info.
Only problem is, the link submitted is not active when it returns from the database, is there anyway either in my page, or within the database, I can tell this to be an active link, maybe even some JavaScript that detects inactive links?
Any help would be greatly appreciated.
Thanks,
What do you mean by "make the link active"?
What language are you developing in?
To use a database field to generate a clickable link in a web browser, you create the HTML framework and then insert the database output into the relevant position.
In PHP, for instance:
<?php echo $linkURL; ?>
Would create a clickable link which would direct visitors to the URL in the $linkURL variable.

How to auto generate a webpage after user submits form

I am looking for some initial direction on this one because I cannot seem to find my way with it. Let me explain...
I am developing a website wherein a logged in site member (Joomla 1.6) can fill out a simple form and attach a pdf to be uploaded upon submission. The user then clicks the submit button and the page will refresh to a new and unique web page.
User Submits data on http://www.examplesite.com and then after submission a new web page is generated that is called http://www.examplesite.com/userSubmittedValue
This newly generated web page would come from a template that is specified by the administrator and, most important, it will display all of the information that the user submitted. Also, there would be a link to download the pdf they uploaded. The user could then view a list of all the pages they have created in this manner via their profile.
I have seen this all over, but I am at a loss for how to generate this. Any help is much appreciated.
This is not something you will be able to easily do or get a detailed answer for here. If you just wanted to do the submission form with a thank you page that shows the data submitted you could use any number of form wizard type extensions - http://extensions.joomla.org/extensions/contacts-and-feedback/forms
If you just needed a way for users to upload PDfs and have access to them you could use one of the file management extensions that offer front end upload features - http://extensions.joomla.org/extensions/directory-a-documentation/downloads
If the additional data that is being submitted is simply data related to the file - title, description, etc then one of the file download components should work fine for you. The choices are limited in 1.6 at this time though so you might have to go with 1.5 to get the extension that works best for your needs.
So this probably isn't the best way to do it if your using Joomla but it just might help.
I would use PHP and inside of you're directory have a file like "template.html". Then I would create some php to handle the task of....
Opening "template.html"
Finding and replacing the values that the user passed you
Save the "template.html" under a new name (userSubmittedValue.html)
Again, I never really use Joomla. If you were to try this I'd suggest checking out php's file system functions (http://us2.php.net/manual/en/ref.filesystem.php).
Hope this helps a bit.

Resources