• tobias.brand
  • NEWBIE
  • 5 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 7
    Questions
  • 7
    Replies
Hello!
We have integrated mailchimp into our org. On the mailchimp object we have a managed visualforce page showing data from mailchim campaigns. This worked great, but since a few days we receive an error message on the visualforce page. It seems that something with a password is not working. However, the data exchange from salesforce to mailchimp is working. Clicking on a mailchimp report link opens a window to enter a password. This never happened before.

Has anyone an idea?User-added image
Hi Developers!
I already asked salesforce support to help me with this, but they were not able to give me support on this. 

I have a flow running on opportunities. The flow is triggered by the user by clicking a button. In the flow the user has to enter some values that will be saved to the opportunity (please see attached screenshots). However, for some users only a few values are saved, not all entered values.
Please see also the last screenshot that shows the updated fields in a report. As you can see: some fields are updated, some are not.

I am really desperate on this. Is there somebody who can help me? Even it is just a small hint?

Many thanks.flow stepsInput fields
field updating
report with update and not updated fields
I have a Flow that must be started before closing an opportunity. The flow will got to OppLineItems, Opportunity and Contact and ask to fill out some fields. 

The issue is that the flow is not updating all fields on the opportunity, but I know for sure that the fields were field out in the process. Because the process later generates a Chatter post with the filled out information. This post is includung all fields. However, on the opportunity there is nothing. I found out that this issue is not affecting all users. So I checked access for all fields, but access to this fields is granted to all users.

At this point I am completly without any clue and any hint or help is of big value to me. 

Thanks a lot. tobias
Hello Forum!

I encounter some strange behaviour, when creating a flow:

The flow is looking at a related list (projects) and sorts this list by a date field (date of last milestone deadline__c) in descending order. This will give me the deadline of the project that is most far in the future. This is working and in "picture 1" you can see, how I did that.

Here comes the issue:
I click save to save the flow and it saves the flow as shown in picture 1.picture 1

But when I close the flow designer window and then reopen the the flow, my flow looks like in picture 2. As you can see, salesforce has deleted the "sort result by" field.

There is no error message. I can save the flow. I can run it. It works as long I do not close the flow designer window.

Is this a bug or expected behavior? 

picture 2
Hello Developers!

I created some small vf-page to show related items from an object. On this page I enabled inline editing and my page looks like this:
<apex:page StandardController="Milestone1_Project__c" showHeader="true" sidebar="false"  extensions="saveMilestones" tabStyle="Milestone1_Milestone__c">

<apex:pageMessages id="ex"/>
    <apex:form >
        <apex:pageBlock >

                

                <apex:pageBlockButtons >

                 <apex:commandbutton action="{!saveit}" value="Saveit"/>   

                    

                </apex:pageBlockButtons>

<apex:pageBlockSection title="Header" collapsible="false">
        <apex:outputField value="{!Milestone1_Project__c.Name}"/>
        
</apex:pageBlockSection>



        <apex:pageBlock title="Milestones">
                <apex:pageBlockTable value="{!Milestone1_Project__c.Project_Milestones__r}" var="ml"  width="100%">
                            <apex:column value="{!ml.Name}" />
                                  
                           
                            
                            <apex:column headerValue="Kickoff" >
                                  <apex:outputField value="{!ml.Kickoff__c}">
                                  <apex:inlineEditSupport event="ondblClick"/>
                                  </apex:outputField>
                            </apex:column>
                            
                            <apex:column headerValue="Deadline" >
                                  <apex:outputField value="{!ml.Deadline__c}">
                                  <apex:inlineEditSupport event="ondblClick"/>
                                  </apex:outputField>
                            </apex:column>
                            
                            <apex:column headerValue="Complete" >
                                  <apex:outputField value="{!ml.Complete__c}">
                                  <apex:inlineEditSupport event="ondblClick"/>
                                  </apex:outputField>
                            </apex:column>
        
        </apex:pageBlockTable>        
        </apex:pageBlock>

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

And here is my controller extension to save the changes:
 
public class saveMilestones
{
public Milestone1_Project__c proj{get;set;}


public saveMilestones(ApexPages.StandardController stdController)
{
 proj = [SELECT  Id, Name , Opportunity1__c,  (SELECT Id, Name,
 Kickoff__c, Deadline__c, complete__c, Project__c FROM 
 Project_Milestones__r order by Name ) FROM Milestone1_Project__c where Id
 =:ApexPages.currentPage().getParameters().get('id')];
}

public PageReference saveit(){

update proj.Project_Milestones__r;


             
            return null;



}
}
It seems to save the new values, but if I go back to my master-object "Projects", I have all the old values in it - so indeed nothing is saved. What am I missing?
 
Hello Forum,

I have searched this Forum for an answer to my question, but I can´t find anything suiting my issue. As I am new to visualforce I am a rooky with apex ... maybe my issue is just some small code - I don´t know. Here is what it is about:

I have written a visual force page:

<apex:page standardController="Opportunity" sidebar="false">
  <apex:form >

  <p>You are viewing data from Opportunity "{!opportunity.name}".</p>
  <p>The related account is {!opportunity.account.name}.</p>
  <br/>
  <p>Enter the quantity for each product you want to invoice. Leave field blank to exclude it from invoicing.</p>
  <p>Click "save" to create your invoice or click "back" to do nothing.</p>


    <apex:pageBlock mode="inlineEdit">


         <apex:pageMessages />
        
         <apex:pageBlockButtons >
              <apex:commandButton value="Save" action="{!quicksave}"
                    oncomplete="window.parent.location.href=('/apex/invoicing2?Id={!Opportunity.Id}')"/>
             <apex:commandButton value="Back" action="{!cancel}"/>
         </apex:pageBlockButtons>   
     
     
             <apex:pageblockTable value="{!Opportunity.OpportunityLineItems}" width="100%" var="ml">
           
                  <apex:column value="{!ml.quantity}" />
                  <apex:column value="{!ml.UnitPrice}"/>
                  <apex:column value="{!ml.Discount}"/>
                  <apex:column value="{!ml.TotalPrice}"/>
                  <apex:column value="{!ml.invoice_2_quantity__c}"/>
                  <apex:column value="{!ml.invoice_2_amount__c}"/>
                  <apex:column value="{!ml.listprice}"/>
            
                  <apex:column >
                        <apex:inputfield value="{!ml.flow_inv_QuantityToInvoice__c}"/>
                  </apex:column>
             
             </apex:pageblockTable>          


    </apex:pageblock>

  </apex:form>

</apex:page>

I have a save button on this page, but it doesn´t save the changes (I understand it is because of standard controller Opportunity). But how do I get a button to save my changes to OpportunityLineItem?

Any help is welcome.


tobias
I created a visualforce page with standard controller "user". The table does not show all users. I can only see the first 20 users.

<apex:page standardController="User" recordSetVar="User">

<apex:pageBlock title="Closed Won">
<apex:pageBlockSection title="DACH">
<apex:pageBlockTable value="{!user}" var="u" rows="200" >
<apex:column value="{!u.name}"

...

Any help welcome!
I created a visualforce page with standard controller "user". The table does not show all users. I can only see the first 20 users.

<apex:page standardController="User" recordSetVar="User">

<apex:pageBlock title="Closed Won">
<apex:pageBlockSection title="DACH">
<apex:pageBlockTable value="{!user}" var="u" rows="200" >
<apex:column value="{!u.name}"

...

Any help welcome!
Hello!
We have integrated mailchimp into our org. On the mailchimp object we have a managed visualforce page showing data from mailchim campaigns. This worked great, but since a few days we receive an error message on the visualforce page. It seems that something with a password is not working. However, the data exchange from salesforce to mailchimp is working. Clicking on a mailchimp report link opens a window to enter a password. This never happened before.

Has anyone an idea?User-added image
Hi Developers!
I already asked salesforce support to help me with this, but they were not able to give me support on this. 

I have a flow running on opportunities. The flow is triggered by the user by clicking a button. In the flow the user has to enter some values that will be saved to the opportunity (please see attached screenshots). However, for some users only a few values are saved, not all entered values.
Please see also the last screenshot that shows the updated fields in a report. As you can see: some fields are updated, some are not.

I am really desperate on this. Is there somebody who can help me? Even it is just a small hint?

Many thanks.flow stepsInput fields
field updating
report with update and not updated fields
I have a Flow that must be started before closing an opportunity. The flow will got to OppLineItems, Opportunity and Contact and ask to fill out some fields. 

The issue is that the flow is not updating all fields on the opportunity, but I know for sure that the fields were field out in the process. Because the process later generates a Chatter post with the filled out information. This post is includung all fields. However, on the opportunity there is nothing. I found out that this issue is not affecting all users. So I checked access for all fields, but access to this fields is granted to all users.

At this point I am completly without any clue and any hint or help is of big value to me. 

Thanks a lot. tobias
Hello Developers!

I created some small vf-page to show related items from an object. On this page I enabled inline editing and my page looks like this:
<apex:page StandardController="Milestone1_Project__c" showHeader="true" sidebar="false"  extensions="saveMilestones" tabStyle="Milestone1_Milestone__c">

<apex:pageMessages id="ex"/>
    <apex:form >
        <apex:pageBlock >

                

                <apex:pageBlockButtons >

                 <apex:commandbutton action="{!saveit}" value="Saveit"/>   

                    

                </apex:pageBlockButtons>

<apex:pageBlockSection title="Header" collapsible="false">
        <apex:outputField value="{!Milestone1_Project__c.Name}"/>
        
</apex:pageBlockSection>



        <apex:pageBlock title="Milestones">
                <apex:pageBlockTable value="{!Milestone1_Project__c.Project_Milestones__r}" var="ml"  width="100%">
                            <apex:column value="{!ml.Name}" />
                                  
                           
                            
                            <apex:column headerValue="Kickoff" >
                                  <apex:outputField value="{!ml.Kickoff__c}">
                                  <apex:inlineEditSupport event="ondblClick"/>
                                  </apex:outputField>
                            </apex:column>
                            
                            <apex:column headerValue="Deadline" >
                                  <apex:outputField value="{!ml.Deadline__c}">
                                  <apex:inlineEditSupport event="ondblClick"/>
                                  </apex:outputField>
                            </apex:column>
                            
                            <apex:column headerValue="Complete" >
                                  <apex:outputField value="{!ml.Complete__c}">
                                  <apex:inlineEditSupport event="ondblClick"/>
                                  </apex:outputField>
                            </apex:column>
        
        </apex:pageBlockTable>        
        </apex:pageBlock>

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

And here is my controller extension to save the changes:
 
public class saveMilestones
{
public Milestone1_Project__c proj{get;set;}


public saveMilestones(ApexPages.StandardController stdController)
{
 proj = [SELECT  Id, Name , Opportunity1__c,  (SELECT Id, Name,
 Kickoff__c, Deadline__c, complete__c, Project__c FROM 
 Project_Milestones__r order by Name ) FROM Milestone1_Project__c where Id
 =:ApexPages.currentPage().getParameters().get('id')];
}

public PageReference saveit(){

update proj.Project_Milestones__r;


             
            return null;



}
}
It seems to save the new values, but if I go back to my master-object "Projects", I have all the old values in it - so indeed nothing is saved. What am I missing?
 
I have a flow where I tried to add the multiselect picklist values to a collection variable but this simply added all values as one value (e.g. "x;y;z" rather than "x";"y";"z". How do I add these as individual values to the collection so that I can use them in a loop? 
  • October 30, 2014
  • Like
  • 0
Hello Forum,

I have searched this Forum for an answer to my question, but I can´t find anything suiting my issue. As I am new to visualforce I am a rooky with apex ... maybe my issue is just some small code - I don´t know. Here is what it is about:

I have written a visual force page:

<apex:page standardController="Opportunity" sidebar="false">
  <apex:form >

  <p>You are viewing data from Opportunity "{!opportunity.name}".</p>
  <p>The related account is {!opportunity.account.name}.</p>
  <br/>
  <p>Enter the quantity for each product you want to invoice. Leave field blank to exclude it from invoicing.</p>
  <p>Click "save" to create your invoice or click "back" to do nothing.</p>


    <apex:pageBlock mode="inlineEdit">


         <apex:pageMessages />
        
         <apex:pageBlockButtons >
              <apex:commandButton value="Save" action="{!quicksave}"
                    oncomplete="window.parent.location.href=('/apex/invoicing2?Id={!Opportunity.Id}')"/>
             <apex:commandButton value="Back" action="{!cancel}"/>
         </apex:pageBlockButtons>   
     
     
             <apex:pageblockTable value="{!Opportunity.OpportunityLineItems}" width="100%" var="ml">
           
                  <apex:column value="{!ml.quantity}" />
                  <apex:column value="{!ml.UnitPrice}"/>
                  <apex:column value="{!ml.Discount}"/>
                  <apex:column value="{!ml.TotalPrice}"/>
                  <apex:column value="{!ml.invoice_2_quantity__c}"/>
                  <apex:column value="{!ml.invoice_2_amount__c}"/>
                  <apex:column value="{!ml.listprice}"/>
            
                  <apex:column >
                        <apex:inputfield value="{!ml.flow_inv_QuantityToInvoice__c}"/>
                  </apex:column>
             
             </apex:pageblockTable>          


    </apex:pageblock>

  </apex:form>

</apex:page>

I have a save button on this page, but it doesn´t save the changes (I understand it is because of standard controller Opportunity). But how do I get a button to save my changes to OpportunityLineItem?

Any help is welcome.


tobias