You need to sign in to do that
Don't have an account?
Estíbaliz Tambo González
Visualforce Page in Salesforce1 - error in visualization
Hello.
I have a problem. I made a visualforce page in order to visualice a related list customiced. I have the following code:
<apex:page standardController="**" extensions="***" showHeader="false" sidebar="false">
<script type="text/javascript">
function redirec(redirectUrl){
sforce.console.openPrimaryTab(null, redirectUrl, true, '', openSuccess);
}
</script>
<apex:pageBlock rendered="{!**}" >
<apex:form >
<apex:pageBlockTable value="{!***}" var="ret">
<apex:column >
<apex:facet name="header">
<apex:outputPanel >{!$ObjectType.Account.Fields.***.Label}</apex:outputPanel>
</apex:facet>
<apex:commandLink target="_top" action="{!URLFOR('/' + ret.***)}">{!ret.***}</apex:commandLink>
</apex:column>
<apex:column headerValue="{!$ObjectType.Account.Fields.***.Label}" value="{!ret.***}"/>
<apex:column headerValue="{!$ObjectType.Account.Fields.***.Label}" value="{!ret.***}"/>
<apex:column headerValue="{!$ObjectType.Account.Fields.***.Label}" value="{!ret.***}"/>
<apex:column headerValue="{!$ObjectType.Account.Fields.***.Label}" value="{!ret.***}"/>
<apex:column headerValue="{!$ObjectType.***.Fields.***.Label}" value="{!ret.***}"/>
</apex:pageBlockTable>
</apex:form>
</apex:pageBlock>
</apex:page>
I visualice it in Salesforce classic (web) and it runs crrectly, but when I visualice in Salesforce1 it becomes with an strange css.
Could you help me? I need o visualice my visualforce page in Salesforce1 but I can't visaulice it correctly.
Have I use any special labels?
Thanks and best regards,
I have a problem. I made a visualforce page in order to visualice a related list customiced. I have the following code:
<apex:page standardController="**" extensions="***" showHeader="false" sidebar="false">
<script type="text/javascript">
function redirec(redirectUrl){
sforce.console.openPrimaryTab(null, redirectUrl, true, '', openSuccess);
}
</script>
<apex:pageBlock rendered="{!**}" >
<apex:form >
<apex:pageBlockTable value="{!***}" var="ret">
<apex:column >
<apex:facet name="header">
<apex:outputPanel >{!$ObjectType.Account.Fields.***.Label}</apex:outputPanel>
</apex:facet>
<apex:commandLink target="_top" action="{!URLFOR('/' + ret.***)}">{!ret.***}</apex:commandLink>
</apex:column>
<apex:column headerValue="{!$ObjectType.Account.Fields.***.Label}" value="{!ret.***}"/>
<apex:column headerValue="{!$ObjectType.Account.Fields.***.Label}" value="{!ret.***}"/>
<apex:column headerValue="{!$ObjectType.Account.Fields.***.Label}" value="{!ret.***}"/>
<apex:column headerValue="{!$ObjectType.Account.Fields.***.Label}" value="{!ret.***}"/>
<apex:column headerValue="{!$ObjectType.***.Fields.***.Label}" value="{!ret.***}"/>
</apex:pageBlockTable>
</apex:form>
</apex:pageBlock>
</apex:page>
I visualice it in Salesforce classic (web) and it runs crrectly, but when I visualice in Salesforce1 it becomes with an strange css.
Could you help me? I need o visualice my visualforce page in Salesforce1 but I can't visaulice it correctly.
Have I use any special labels?
Thanks and best regards,
Have you done this step ? :
1. Build - Develop - Visual Pages
2. Edit your Visual Page
3. Tick the *Available for Salesforce mobile apps and Lightning Pages*
4. Save
Yes, we did this steps. Look, our problem is the following. I think that in a photo is more clear.
Could you help me?
Thanks