You need to sign in to do that
Don't have an account?
Unais Komath
Link Force Set up
Hi
can someone help me with Linkforce Setup? Can i have a user guide for the same?
- Install the LinkForce Package from the Appexchange. - DONE
- Create a new Force.com Site, or add the urlRedirect VF page and urlController, urlRewriter Apex controllers to your existing site. - HOW TO DO THIS??
- Define your Base URL and Default URL in Setup -> Develop -> Custom Settings -> LinkForce Settings -> Manage. Your Base URL should match your Force.com Sites name. ( Whats the difference between base URL & Default URL??)
- Make sure your Sites guest user profile has permission to read the Short URL object, and create new Short URL Click objects.- DONE
- Edit your Force.com Site and set 'urlRewriter' as the URL Rewriting class. - DONE
- Start shortening! - my shortened URL is not working!!
WHat am i missing? can anyone help??
https://sandeep.com/ is the URL of your site? Are you sure about that? I think custom Sites domains require a subdomain, even if it's only "www". Can you verify what URL appears in your site's custom web address, and can you verify you've properly CNAMEd your domain to your salesforce site?
All Answers
Hiya, I wrote linkforce.
Re 2: These pages and classes need to be enabled for your sites guest user, otherwise they won't work for people clicking your links. This is set on the sites guest user profile.
Re 3: Base URL is the name of your site and the prefix of your shortened links. My Site with linkforce is at http://lf.force.com, so that's my base URL. Default URL is where you send someone if they click on a link that doesn't exist in your linkforce app.
If you have other questions, feel free to contact me at jhersh@salesforce.com
Hi,
Thanks for you quick response. you have a awesome app.
please find the settings which i have made below.
For Site Guest User profile
Enabled Apex Class Access
UrlController urlHomeController urlRewriterLinkForce is added
Enabled Visualforce Page Access
aboutLinkForce urlHome urlRedirect is added.
Base URL - (https://sandeep.com)
Default URL - ( www.salesforce.com)
I created a SHORT URL - https://sandeep.com/g for www.google.com but it doesnt work.
can u please help me on this?
https://sandeep.com/ is the URL of your site? Are you sure about that? I think custom Sites domains require a subdomain, even if it's only "www". Can you verify what URL appears in your site's custom web address, and can you verify you've properly CNAMEd your domain to your salesforce site?
Hi,
MyBad. I thought i can use any desired address there. my site address is https://sandeepavankia-developer-edition.ap1.force.com/ and i have changed the base uRL and it works fine now.
Thanks for your support.
I can also see the link access details as well :-)
You got an awesome product.
I have another question. Is there any way where i can create a formula field which will help me in creating short URL automatically?
Thanks!
Not sure what you mean by a formula field to generate a short URL. It does that automatically for you when you save a new link, right? You can also (optionally) specify a custom shortened url.
Let me elaborate the requirement.
For Example i have a job in my instance and i generate the application url for that job using a formula field by using the salesforce id for that particular job record.Formula filed will look something like this ( " htttp ......."+ID).
we have formula field so that it automatically generated URL for all the jobs in the system.
so my question is is there a way where i can create short application url automatically using a formula field. why i need this functionality is because i can hvae a number of jobs a day and i would like to automate the URl shortening process.
Please let me know your thoughts about this.
Certainly. You can use Apex or javascript remoting or web services to programmatically insert a record into the Short URL table with any URL you like.
Thanks :-)
The page is helpful and it works for me ^_^
http://crm2.force.com/0
Shorten URL Setup is ok but how to setup the report to display the "date/time" the click happens.
How to find and add "click time" field to the report ?
You should be able to view date/time (and more!) for all clicks on an individual link by clicking the "i" icon next to a link on the Linkforce page.
Or, if you're creating your own custom report on the Short Url Click custom object, you should be able to group by createddate or any other grouping.
And, yes, there's click time in the "i"
However, it can't be added to custom report
Since "click date + click time" is detail information for shorten url analysis purpose, hope to have the "click time" field for custom report.
Is "Createdate of click" the same as "click date" ?
Thanks for quick response
The createddate of the short_url_click__c object is the click date. It's a standard field and is definitely available in reports.
Trying to make a custom field and guess it will works
Salesforce is so great and easy use
And, thanks jhersh1
----------------------------------------------------------------------------------------------
Not able to configure site, base url and default url for this bit as my requirements a bit different.
Can anyone help with this ?