• sebcos
  • SMARTIE
  • 590 Points
  • Member since 2010

  • Chatter
    Feed
  • 22
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 132
    Replies

Threads like Package install fail: missing feature apex class discuss editions that do and do not allow Apex source code to run. (Apex code in a managed package is treated somewhat differently.)

 

Can anyone point me to a data sheet that describes this capability for "Force.com Embedded Edition" licenses?

 

Thanks,

Keith

Hello,

 

I have a "Submit For Approval" button for my Opportunity Record. The button is a standard button (therefore not a custom button).

When i click on the button it pops-up a warning type message with the following text and an "ok" and cancel" button.

 

"Once you submit this record for approval, you might not be able to edit it or recall it from the approval process depending on your settings. Continue?"

 

i wish to change the warning message that appears for users clicking on this button.  I've had a look at the Workflow & Approvals > Approval Processes settings but cannot find where this message is set in the first place.

 

Does anyone know where such settings are configured for Approval Process buttons?

 

Thanks in advance.

how to create field dependance between picklist and Text filed using visualforce page in salesforce

Hello,

 

I wrote a simple trigger to add a post on the project object whenever a new case is logged under that project. The trigger is working fine whenever I use a standard user but when it is a portal user creating the case, I'm getting the exception:

 

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, Entity is read-only: FeedItem: []

 

Thanks,

 

Pedro

Hello,

 

I would like to check if there is any way to find out the usage of the Installed packages.

 

I would like to check which user is using the installed package? Which page layouts use features from custom packages?

 

Do I have to write any custom query to find out these details?

 

Thanks

uma

VFP:

<apex:page standardController="Account" extensions="AccountPageblock" recordSetVar="records" id="thePage">
    <apex:form id="theForm">
        <apex:pageBlock id="thePageBlock">
            <apex:pageBlockTable value="{!records}" var="record" id="thePageBlockTable">
                <apex:column >
                    <apex:inputField value="{!record.Name}" id="AccountNameDOM" />
                   <apex:facet name="header">Name</apex:facet>
                </apex:column>
                <apex:column >
                    <apex:inputField value="{!record.Type}" id="AccountTypeDOM" />
                    <apex:facet name="header">Type</apex:facet>
                </apex:column>
                <apex:column >
                    <apex:inputField value="{!record.Industry}"
                        id="AccountIndustryDOM" />  
                        <apex:facet name="header">Industry</apex:facet>
                </apex:column>
                
            </apex:pageBlockTable>
            <apex:pageBlockButtons >
                <apex:commandButton value="Save" action="{!save}" id="saveButton" />
                <apex:commandButton value="Cancel" action="{!cancel}" id="cancelButton" />
            </apex:pageBlockButtons>
        </apex:pageBlock>
    </apex:form>
</apex:page>

 

Contoller:

public class AccountPageblock {

    public AccountPageblock(ApexPages.StandardSetController controller) {

    }
 
   public List<Account> getrecords() {
return [SELECT Type, Name, Industry FROM Account where Industry =: 'Energy'];
}
public abstract class MyController{
                Apexpages.StandardController controller;
                public MyController(Apexpages.StandardController c){
                controller = c;
                }
                public PageReference save() {
                controller.save();//invoke standard Save method
                return Apexpages.currentPage();//refresh current page
}
}

}

 

Is there a way to create a new field on an object with Apex code?  I'm pretty sure it can be done with the Metadata API, but I wondered if there's a way directly from within Apex.

I installed a managed package ,and created some customer field in sandbox.

When i will deploy object and program ,i need object's metadata file .

But in eclipes ,i just have stander object and customer object .

I can't get object metadata with pkg.

 

 

 

I have a VF page:-- 

 

 

<apex:page controller="testdatatable" >
<!-- Combo-handled YUI JS files: -->
<html>
<head>
<title> Yui Data Table with Visual Force Page </title>
</head>
<body>
<div id="basic"></div> 
</body>
<script>
function Init()
{
addTable();
return true;
}
YAHOO.util.Event.onDOMReady(Init);
</script>
<script >
function addTable()
{
var sectionsArr= new Array();
    <apex:repeat value="{!acc}" var="a">
     var sections=new Array();
   sections.push('{!a.id}');
    sections.push('{!a.name}'); 
    sections.push('{!a.website}');
     sectionsArr.push(sections);
  </apex:repeat>
          var myColumnDefs = [          {key:"id", sortable:true, resizeable:true},      {key:"Name", sortable:true, resizeable:true}
                                        {key:"Website", sortable:true, resizeable:true}
                             ];
                             
         var sectionsArr= new Array();
        var myDataSource= new YAHOO.util.DataSource(sectionsArr);
        myDataSource.responseType=YAHOO.util.DataSource.TYPE_JSARRAY;
        myDataSource.responseSchema={fields:["id","name", "website"]};
        var myDataTable= new Yahoo.widget.DataTable("basic", myColumnDefs, myDataSource, {caption:"My Salesforce Data"});
              }
</script>
</html>
</apex:page>

 

Hi all,

 

I want to ask about is it possible to call web service that is generated from another salesforce instance? I just want to know about this possiblity... Any suggestions would be great.. Thanks

 

 

 

Regrads

I have a visualforce page that contains dependent picklists but I want to have inline editing enabled.  When I do this I get a VF error that says inline editing isn't available for dependent picklists.

 

Does anyone know a workaround?

I am attempting to back up all of our information from SalesForce and am trying to export all of our leads and information. I saw a previous discussion which mentioned that I could simply export from the data management tab in the administrative settings.  However, that options does not seem to exist any longer.  I'd appreciate any advice and also what is the best format for exporting the data a well.

 

Eric

 

 

http://boards.developerforce.com/t5/Excel-Connector/Exporting-data-from-Salesforce/td-p/46023

Hi,

 

I am running into some duplicate external ID errors when I am using the upsert process of the DataLoader. I am hoping that I am just overlooking something, and the functionality exists within the Loader.

 

I am migrating data from one salesforce instance to another, using external IDs to build relationships within the new instance. I use an external ID in the Account and one in the Contact objects.

 

The problem arises when I run into an Account with more than one contact, I start running into errors like this:

 

Duplicate external id specified: 001a000000o7h1hiar

 

Is this an actual limitation to the upsert process, or am I missing something? All the rows that returned this duplicate error have been pushed out into the error.csv, can I do anything with these? Thanks again, any help is appreciated. I would hate to have to migrate some rows manually!

Hi

To begin with, I am building a very basic app to explore and evaluate chatter for our requirements.

Have enrolled for Developer edition. Now I have to add couple of more people to follow on chatter. Thereafter get the updates of all the people whom I follow via Oauth and Rest API.

 

Now here comes a newbie problem -

Even after creating our accounts, we cannot search for each other in our respective chatter accounts. Is that due to developer edition or something else?

 

Thanks in advance

Neeti

I am very new to this sorry.  I've tried to use the chatter code recipie to retrieve comments on a feed item, but what code can I use to display it on my visual force page?

 

 

List<NewsFeed> myfeed = [SELECT Id, Type, 
                         CreatedById, CreatedBy.FirstName, CreatedBy.LastName,
                         ParentId, Parent.Name, 
                         Body, Title, LinkUrl, ContentData, ContentFileName,
                             (SELECT Id, FieldName, OldValue, NewValue 
                              FROM FeedTrackedChanges ORDER BY Id DESC), 
                             (SELECT Id, CommentBody, CreatedDate,
                              CreatedBy.FirstName, CreatedBy.LastName
                              FROM FeedComments ORDER BY CreatedDate LIMIT 10),
                             (SELECT CreatedBy.FirstName, CreatedBy.LastName
                              FROM FeedLikes)
                         FROM NewsFeed
                         ORDER BY CreatedDate DESC, Id DESC
                         LIMIT 20];
In my visualforce page I use:
<apex:dataTable value="{!userFeeds}" var="uf" >
I use {!uf.createdby.Firstname} to get the first name but I do not know how to get the comment body out.
Can you suggest what I could try?
Thankyou...sorry my english is not good.

 

 

Is there anybody knows when Siteforce application is available?

Sehr geehrte Damen und Herren,

Ich habe vor einigen Tagen ein Problem mit dem Support besprochen.

Dieser konnte, trotz großen Bemühungen, mein Problem nicht beheben.

Er bat mich dieses hier anzusprechen. Diese kann dann von einem Entwickler beantwortet werden, meinte er.

 

mein Problem:


 

Ich bin dabei einen Bericht zwischen "Kunde und Bestelungen" zu erstellen.

Nun bin ich auf ein Problem gestoßen, welches (laut der SalesForce Hilfe) keines sein sollte.

Ich möchte bestimmte Kundennummern (beginnt mit), diese Kunden sollen ein bestimmtes Produkt (gleich) bestellt und andere Produkte nicht bestellt  haben.

Bsp.:

Produkt -> gleich -> Visitenkarte

Kundennummern -> beginnt mit -> xxxxx

Produkt -> gleich -> Flyer

NOT 1 AND (2 AND 3), Visitenkarten möchte ich ausschließen


Nun habe ich die untenstehende Hilfe gelesen und eingebaut.

Leider gibt der Filter mir trotzdem Kunden mit Visitenkarten aus.

 


"...
Bedingungen können mit dem Ausdruck NOT beginnen, nicht jedoch enden.

So findet “NOT 1 AND (2 OR 3 OR 4)” beispielsweise Datensätze, die einem der letzten drei Filter entsprechen, und schließt Datensätze aus, die dem ersten Filter entsprechen.

..."

 

Antwort von Support:


Es gibt eventuell eine Möglichkeit, abhängig von der Anzahl der Produkte die Sie verwenden.

Für jedes Produkt müsste ein Lookup Feld erstellt werden, das auf das gewünschte Produkt zeigt.

Anschließend kann man mit APEX Triggern arbeiten um die Accounts auszuschließen, die nicht den Kritierien entsprechen.

Allerdings bieten wir für Programmierungen dieser Art keinen Support.

In diesem Fall müsste ich Sie dann an das Entwicklerforum unter http://boards.developerforce.com/sforce/?category.id=developers verweisen, wo Sie Ihre Frage posten können.

Ich hoffe das mir hier jemand helfen kann.

Für weitere Fragen stehe ich gerne zur Verfügung.




Mit freundlichen Grüßen

Heiko


(bei entstehnden Kosten bitte Rückmeldung vorab geben)

Is it possible to create a dashboard table component with more than 2 columns?

 

E.g.:   ACCOUNT 1       CITY      TURNOVER

           ACCOUNT 2       CITY      TURNOVER

           ACCOUNT 3       CITY      TURNOVER

                  ...

 

 

Thanks.