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
Iacopo BenetolloIacopo Benetollo 

double object into VF Page

Hi, 
I must tracking visiti from visualforce page into a custom object (VF_TRacking__c).
This is the first part op VF Page:
<apex:page standardController="Age__c" showHeader="false" standardStylesheets="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0" action="{!trackVisits}">

So the action save the information into an other custom object, differnt the StandardController (Age__c).
How can resolve this issue?

Thanks a lot,
Iacopo

Rounak SharmaRounak Sharma
hello Iacopo,
I am sorry but your requirement is not clear. Please elaborate it.
Thanks
Iacopo BenetolloIacopo Benetollo

I want tracking the visit og a VF page thast is into a section of layout page about Age__c object.

So I create a custom object (VF_TRacking__c) in wich save some information (User and data of visiting).

In my VF Page I use Age__c custom object so I can't create an action towards the other custom object to save the information.

If a save thoe code, Salesforce give me this error: Error: unknown Method "Agente__cStandardController.trackVisits()" .

How can resolve it?