function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sales4cesales4ce 

Login issues

Hi,

 

I have a customer portal.

I also have a custom object that is associated with the customer portal.

 

when ever users who access portal, when click on the link(custom object one), it asks the user to login.

i want to override this functionality.I want anonymous login when clicked on the link.I am using the guest profile, but it still prompts for login.

 

Can any one help me with this.

 

Thanks in advance!

 Sales4ce

Best Answer chosen by Admin (Salesforce Developers) 
BulentBulent

enable your page for your site (site details> site visualforce pages)

enable the tab for your site (site details> site public access settings)

 

I'm not sure how you render tabs on your page, if it's the default rendering it should just show up for your  site since you are enabling the tab for your site, if not then you modify your custom code for that tab.

All Answers

telbyte10telbyte10

customer portal will not work for this.

You can create site and use guest profile.

 

-telbyte

sales4cesales4ce

 Hi,

I have created a site and using guest profile.

But, it still asks for Login details.

Am i missing anything?

 

Thanks,

Sales4ce

BulentBulent

seems like your site doesn't have access for that data/page

you need to check

 

on site details>public access settings:

1- read permission 

2- field level security

 

sharing:

- if private sharing is turned on for the object you need to make sure site user has access to the record

 

site details>visualforce pages

-  the target page needs to be enabled for your site

 

 

sales4cesales4ce

Hi Bulent,

 

I checked everything.but with no luck.

The object has a Public Read/Write access and no field level security

I also enabled the page to the required profile.

I have Read and create access to the object.

 

Am i still missing anything?

 

Thanks,

Sales4ce

BulentBulent

you might want to check the link url:

it should be either your custom url or your force.com url, not na1.salesforce.com type of url 

 

and also make sure your custom object is "deployed" not in development > check the object definition. 

Message Edited by Bulent on 03-18-2010 09:56 AM
sales4cesales4ce

It is http://isheetha-developer-edition.na6.force.com.

 

and custom object is "Deployed".

 

But, still it does not show.Prompts for login. I am unsure what more to do.

 

Thanks,

Sales4ce

BulentBulent

seems like an ideas implementation. In order to vote/post an ideas you must login.

 

where am I supposed to click on this page to see what you are describing?

 

 

sales4cesales4ce

Click on Ideas in action.

It is the custom object.

 

Thanks,

Sales4ce

BulentBulent

the link target is not a visualforce page, url points to /a06/o

 

you can only expose visualforce pages via sites 

 

you need to create a visualforce page  

sales4cesales4ce

Its a visual force page called 'Ideasinactionhomepage'

 

VF code:

 

<apex:page action="{!URLFOR('/a06/o')}">

</apex:page>

 

Thanks,

Sales4ce

BulentBulent

then you need to change your code to have

 

 

{!URLFOR('ideasinactionhomepage')

 and enable the page for your site

 

 

sales4cesales4ce

Still the same Bulent,

It is still redirecting to ('006/0').

 

sales4ce

BulentBulent

Your ideasinaction tab is a custom object tab which will try to show the standard ui.

 

you need to create a visualforce tab instead and show your visualforce page via this tab

 

 

sales4cesales4ce

I created a visualforce tab and assigned the corresponding page to that tab.

Now, how do i show?

 

Sales4ce

BulentBulent

enable your page for your site (site details> site visualforce pages)

enable the tab for your site (site details> site public access settings)

 

I'm not sure how you render tabs on your page, if it's the default rendering it should just show up for your  site since you are enabling the tab for your site, if not then you modify your custom code for that tab.

This was selected as the best answer
sales4cesales4ce

Thanks for your help !

It worked for me.

 

Sales4ce