• g.engel
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 12
    Replies

Hi,

 

I have created a public visualforce page that allows non-licensed users to enter data related to our accounts. This visulforce page is feeding a custom object titled Productivity. The users can visit the site but there are two issues that occur when trying to enter and save data:

 

1. Only the Project Number field is available for data entry -- all others fileds are closed

2. When clicking Save, the user gets a an Authorization Required error

 

I have pasted the code below. I have enabled debug logs but cannot find any exception errors.

 

Any guidance and recommendations are greatly appreciated!

 

Thanks,

Carlos

<apex:page standardController="Productivity__c">
<center>
<h1>Welcome to the Boart Productivity Suite</h1>
<br/><br/>
</center>
<apex:form id="ProductivityForm">
    <apex:pageBlock >
        <apex:pageMessages />
        <apex:pageBlockButtons >
            <apex:commandButton value="Save" action="{!save}"/>
        </apex:pageBlockButtons>
        <apex:pageBlockTable value="{!Productivity__c}" var="p">
        <apex:column headerValue="Enter Your Details">
            <table>
                <tr>
                    <td>Project Number:</td><td><apex:inputField value="{!p.Project_Number__c}"/></td>
                    <td>Customer:</td><td><apex:inputField value="{!p.Cust_Name__c}"/></td>
                    <td>Date:</td><td><apex:inputField value="{!p.Date__c}"/></td>
                </tr>
                <tr>
                    <td>Region:</td><td><apex:inputField value="{!p.DS_Region__c}"/></td>
                    <td>Zone:</td><td><apex:inputField value="{!p.DS_Zone__c}"/></td>
                    <td>Branch:</td><td><apex:inputField value="{!p.DS_Branch__c}"/></td>                    
                </tr>
                <tr>
                    <td>Rig:</td><td><apex:inputField value="{!p.Rig__c}"/></td>                
                    <td>Shift Number:</td><td><apex:inputField value="{!p.Shift_Number__c}"/></td>
                    <td>UOM:</td><td><apex:inputField value="{!p.UOM__c}"/></td>
                    
                </tr>
                <tr>
                    <td>Drill Amt:</td><td><apex:inputField value="{!p.Drill_Amt__c}"/></td>                    
                    <td>Drill Hours:</td><td><apex:inputField value="{!p.Drill_Hrs__c}"/></td>                    
                    <td>Other Billable Hours:</td><td><apex:inputField value="{!p.Oth_Billable_Hrs__c}"/></td>
                </tr>
                <tr>
                    <td>Billable Reason:</td><td><apex:inputField value="{!p.Billable_Reason__c}"/></td>
                    <td>Other Non-Billable Hours:</td><td><apex:inputField value="{!p.Oth_Nonbillable_Hrs__c}"/></td>                
                    <td>Non Billable Reason:</td><td><apex:inputField value="{!p.Non_Billable_Reason__c}"/></td>
                </tr>
            </table>
        </apex:column>
        </apex:pageBlockTable>        
    </apex:pageBlock>

</apex:form>
</apex:page>

 

 

hi,

 

Can we write SOQL query in formula field such as

 

if(foo__c>500, [select if from Request]], "invalid score!!")

 

Thnx in advance!

  • February 18, 2011
  • Like
  • 0

Hi,

in our Dev ORG we have customized the Contact and Account tab. Once we create the Managed Package we select the Page Layouts for Contact and Account to be included in the package.

However, when we install the managed package in the Test ORG these customized tabs are not available, but the standard Contact and Account tab are.

 

Does anyone know what needs to be done to overlay the standard CRM tabs in the target ORG with the customized CRM tabs from the managed package?

 

Regards,

Juha

  • February 16, 2011
  • Like
  • 0

Hello All,

 

I recently developed a custom object.  This object shares a "master-detail" relationship with two other custom objects.  Within these two other custom objects, the user adds information for a specific kind of request.  What I would like is after the user has entered their reuqest if the page would default back to the original custom object page.  I realize my question is a bit vague, if you have a response but need more information please reply and I will provide my email address.

 

Thank you!

I am trying to understand the actual workings of the Service Cloud, specifically Entitlements with Service Levels, so I have a development account as an informal sandbox. However, I cannot for the life of me figure out how to access the Service Cloud app! What am I missing?

 

thanks in advance,

Bryan

Hello everyone,

I am relatively new to SFDC and validation rules, so any advice would be appreciated!

For a while now, I have been trying to figure out how to create an input mask that would permit me to be able to enter data in a particular format. For example, I know of how to restrict the maximum number of characters a user can enter into a field, but I am unsure how to restrict the minimum number of characters. Furthermore, I am uncertain as to how to allow users to be able to enter data in a particular format (e.g.. 00-00-00), automatically.

Also, I was wondering if there is any way to make a numeric field start with '0' (if necessary)? The complication is that it is not always the case. Failing that, is there a way to make a text field (which permits alphanumeric data entry) to only allow numeric characters to be entered?

Thank you for reading this and any advice you can provide!

RJP2011

hi,  

 

Please help me salesforce integration with php and also java '

 

it's urgentttttttttt.

いかは、画面で入力されたデータを新規に
CustomObject1__c とCustomObject3__c
登録するプロセスですが

CustomObject1__c を登録したのち
CustomObject3__c のlink__cはCustomObject1__cへのlookup項目ですので
 List<CustomObjec・・・
IDを取得後
CustomObject3__c のlink__cへ代入すると

f_new.link__c =  idname;

Illegal assignment from LIST<oac__CustomObject1__c> to Id
というエラーが出ます

解決方法がわかりません

教えてください

public class new_kain {

    CustomObject1__c k_new;
    CustomObject3__c f_new;

    public PageReference save() {
         // Add the account to the database.  
         insert k_new;
       
         List<CustomObject1__c>idname=  [select id  from CustomObject1__c where Name =: k_new.name LIMIT 1 ];

         id.f_new.link__c =  idname;


 

  • February 08, 2011
  • Like
  • 0

I am trying to insert an image onto my VF page.

 

here is what i have:

 

<IMG src="C:\Documents and Settings\*****\My Documents\My Pictures\test.gif" ALT= "alternate_text" />

 

i also tried

 

<IMG src="test.gif" ALT= "alternate_text" />

 

both ways i ended up with the same result, the image didnt display, the image box only displayed the alternate text. please help thanks.

Is it possible to create a dashboard gauge showing the daily activities for someone? I have a tabular report showing the total number of tasks and events completed, and all I want is a gauge that updates a running total of activity for a set period and the target for that period. This is possibly asking to do something too simple for all this technology!

  • January 26, 2011
  • Like
  • 0