Edit record link in Customer Portal

Edit record link in Customer Portal

I have an application and I am using the following script on my form "Contact_Information" > on load:

(I have inserted <appuser> and <appname> in place of the correct code below)

record  =  Contact_Information  [Sponsor == input.Sponsor];
if (Contact_Information[Sponsor == input.Sponsor].count()  >  0)
{
    openUrl(" http://creator.zoho.com/<appuser>/<appname>/#Form:Contact_Information?recLinkID=" + record.ID + "&viewLinkName=Contact_Information_Report", "same window");
}

When I am logged in, this works perfectly and if the form exists, it will load it for editing rather than allowing me to enter a second form. 

However, when I try to access this when I am logged in as a user in my customer portal, I am taken to this link: 

I have checked and the permissions are set for my portal user to be able to edit, so I am not sure why this would be happening? 




                            Zoho Desk Resources

                            • Desk Community Learning Series


                            • Digest


                            • Functions


                            • Meetups


                            • Kbase


                            • Resources


                            • Glossary


                            • Desk Marketplace


                            • MVP Corner


                            • Word of the Day



                                Zoho Marketing Automation


                                        Manage your brands on social media



                                                Zoho TeamInbox Resources

                                                  Zoho DataPrep Resources



                                                    Zoho CRM Plus Resources

                                                      Zoho Books Resources


                                                        Zoho Subscriptions Resources

                                                          Zoho Projects Resources


                                                            Zoho Sprints Resources


                                                              Qntrl Resources


                                                                Zoho Creator Resources


                                                                  Zoho WorkDrive Resources



                                                                    Zoho Campaigns Resources

                                                                      Zoho CRM Resources

                                                                      • CRM Community Learning Series

                                                                        CRM Community Learning Series


                                                                      • Tips

                                                                        Tips

                                                                      • Functions

                                                                        Functions

                                                                      • Meetups

                                                                        Meetups

                                                                      • Kbase

                                                                        Kbase

                                                                      • Resources

                                                                        Resources

                                                                      • Digest

                                                                        Digest

                                                                      • CRM Marketplace

                                                                        CRM Marketplace

                                                                      • MVP Corner

                                                                        MVP Corner




                                                                            Design. Discuss. Deliver.

                                                                            Create visually engaging stories with Zoho Show.

                                                                            Get Started Now