• Marco_Maltesi
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 25
    Questions
  • 16
    Replies

Hello,

SalesForce developer Edition does nt permiss to create file attachement field

can any one tell me give me a solutiuon to do it by another way!!

Million thanks

 

Hello ,

i am trying to integrate data from sql server to salesforce via Talend.but i don't know how to map picklist values in a table with my picklist table in sql server,

Please , is there a table in salesforce that contain Values of picklist   or anyone to tell me how can i do it.

any help from you would be much appreciated

10000000 millions Thanks

hello (salut tous le monde),

please can anyone help me, i need to correct this trigger.the idea is to create a new record in the evenement object if a contact is created and have a specif value in a picklist field.

trigger Mytrigger onContact (beforeinsert) {

List<Contact> lstContact = newset<Contact>();

List<Ev_nement__c> lstevents = newlist<Ev_nement__c>();

lstContact = Trigger.new();

 

For(Contactcon :lstContact )

{

if (Contact.Type_contrat__c == 'CDI')

 

Ev_nement__c EV = newEv_nement__c (Contact__c=con.ID,Date_de_cr_ation__c=system.today(),Type__c='Embauche') ;

lstevents.add(Ev);

}

upsertlstjobs;

}

 

 

the error message is that EV don t exists!!!

Hi,

I haven't written an Apex trigger before, so I'm looking for an example of a trigger that will create a record.

I've got a 2 objects : Mission , Project  

Each time a mission or a projet is created or modificated , I'd like to create a record in my custom object  Jobs.

millions thanks!!!

Hello,

please is there anyone to help me. it s urgent.

so i have 3 objects. A , B , C

  B is the parent of C (master détails relation)

  C have a lookup on A .

I need to show B in the layoutpage of A.

i want a similar code to begin because  i am new into Apex !!

Millions Thanks

 

hello ,

Please can any one answer my question: is it possible to change the the fild "Name" of an object to read only. if yes, how can i do it?

thanks, thanks thanks

hello,

i have 3 custom objects: Missions- MonthJob which is master of DailyJob.

in the DailyJob i have a lookup to missions.

the idea is to show for every  mission in a vf page its MonthJob (all the DailyJob attached to this mission).

please, can you give me a code to start the creation of this.

Thanks a lot!!

hello,

i have two object Cras and Cras Détails (Master-Detail Relationship).

the idea is to show the rdetailed records  of  Master record in calendar Format.

Is it possible to do it.if yes how can i do.(the start point)

Thanks

Hello,

the idea is to filter records, in the account tab directly, without using view.

please, can i create buttons to do it (like new contact button). 

thanks a lot

 

hello,

the idea is that the user can only modify records that he 's tha manager.

i try to write this trigger but it alaways gives error!

trigger

CraModifValidation onCra__c (beforeupdate) {

for

(Cra__c acc:trigger.new)

{

{

if

( getSObjects.Offre__c.Manager__c <> getSObjects.User.Id)

acc.addError( " you can t modify);

}

}

}

thanks for help

hello,

am creating a custom object .it  contain a mission progress report by day per employee.but the problem is that he can work in two missions in one day.

so i need to  avoid the duplicated records.(In max an employee can have 2 records in one day)

thanks for help.

hello,

i want to creat a custom field :picklist taht contain a liste of month and year.

pleast how can i do it?

thanks a lot

hello,

i am new in Salesforce and

i want to display two vf pages in one tab.

is it possible?

thanks

hello,

is it possible to create two tabs for only one object (i don t need a view).

example: for an object X  i need to have X-A tab and X-B tab.

if yes .please tell me how we can do it??

hello,

i create two account record type  A & B and i need to set all old accounts as an A records

i taked the id of record A and exported all old accounts and update the recordtypeID.

but one time , i update records with dataloader  , i find that the records are not updated

i try in second time to make a workflow without success!!

is there an other solution???

thanks

hello,

please can anyone tell me if

Can i manage in one application a database of two different organizations ( A and B that have the same database model) with the management of permissions and visibility for users ???

if yes, please give me a way to do it.

thanks a lot!!!!

hello,

is there a standard code to display calendar in salesforce.

thanks

hello,

i am migratind Data from one organisation to another.

is it possible de migrate the field LASTMODIFICATION DATE

if yes.how can i do it??

regards

Hi,

I am migrating Data from one organisation to another .the probleme is that Closed Tasks are displayed in the open activities.

Please how can i resolve this problem!!! thanks  a lot

hi!!

I am migrating from one organisation to another.the Migration of accounts contacts opportunities,,, is well done.i used Dataloader but i can t migrate Tasks.

Is it possible? if yes how can i do it??

thanks for help!!!

hello (salut tous le monde),

please can anyone help me, i need to correct this trigger.the idea is to create a new record in the evenement object if a contact is created and have a specif value in a picklist field.

trigger Mytrigger onContact (beforeinsert) {

List<Contact> lstContact = newset<Contact>();

List<Ev_nement__c> lstevents = newlist<Ev_nement__c>();

lstContact = Trigger.new();

 

For(Contactcon :lstContact )

{

if (Contact.Type_contrat__c == 'CDI')

 

Ev_nement__c EV = newEv_nement__c (Contact__c=con.ID,Date_de_cr_ation__c=system.today(),Type__c='Embauche') ;

lstevents.add(Ev);

}

upsertlstjobs;

}

 

 

the error message is that EV don t exists!!!

Hello,

please is there anyone to help me. it s urgent.

so i have 3 objects. A , B , C

  B is the parent of C (master détails relation)

  C have a lookup on A .

I need to show B in the layoutpage of A.

i want a similar code to begin because  i am new into Apex !!

Millions Thanks

 

hello ,

Please can any one answer my question: is it possible to change the the fild "Name" of an object to read only. if yes, how can i do it?

thanks, thanks thanks

hello,

i have 3 custom objects: Missions- MonthJob which is master of DailyJob.

in the DailyJob i have a lookup to missions.

the idea is to show for every  mission in a vf page its MonthJob (all the DailyJob attached to this mission).

please, can you give me a code to start the creation of this.

Thanks a lot!!

hello,

is there a standard code to display calendar in salesforce.

thanks

hi!!

I am migrating from one organisation to another.the Migration of accounts contacts opportunities,,, is well done.i used Dataloader but i can t migrate Tasks.

Is it possible? if yes how can i do it??

thanks for help!!!

i wrote a trigger on the Account object.It validates the First name for find out the duplicate record .once first names are same it throws an error like already exist.my question is suppose as per requirement  i want to change my rest of fields apart from First Name.i was trying to change the rest of fields and save the record,it throws an same error like already exist.can you tell me how to write a trigger to  save the record without affecting the first name and updating the rest of the fields

 

trigger duplicate on Account (before insert,before update) {
set<string> setnames=new set<string>();
list<account> listnames=new list<account>();
for(account acc:trigger.new)
{
setnames.add(acc.name);
}
listnames=[select name,id from account where name in:setnames];
for(account acc:trigger.new)
{
for(account dup:listnames)
{
if(acc.name==dup.name)
acc.adderror('already exist');

}

}

}

Hi!!

I am in France and I am trying to import data to a costumized object with dataloader but i find that for all dates there is a one day shift ( -  1 ) .

i changed the time zone in salesforce and chek Use the europeean format in dataloader settings and changed the time zone in windows.but finaly it didn t work.

is there any solution!!

thanks for help!!

hi!!!

i need a validation rule for an field that does not begin with a capital letter!!!

i write this

NOT  BEGINS( Name ,"A") but i can t add the other letters

thanks for help!!

Hi developers,

                        how can we change the default Salesforce CRM UI.

defaultly some look and feel is observing in CRM but is possible to change as we customize some social networks themes. How can we? plz suggest options.

Does anybody know of a way to prevent users from entering duplicate contacts?

 

Thanks,

 

Tyler

We're building a help system, one with a similar hierarchy as the salesforce help.  I've been having trouble finding documentation on structuring and populating nested lists using visualforce.  We have our content divided into custom objects as follows...

application - top level, not displayed, used to control the content being displayed in multiple customer portals
grouping - Above the list, names act as headers above the tree
category - these categories exand out to show topics
topic - When clicked these open directions in a div to the right of the menu.

so where I'm at...

I have a custom controller that populates the grouping list.  I'm not sure if this should even be a list since its the header for the lists contained with .

public class CODhelp {

List<grouping__c> grouping;

public List<grouping__c> getgrouping() {
if(grouping == null) grouping = [select name from Grouping__c where application__r.name = 'cod'];
return grouping;
}
}


Then I'm creating the list in the visualforce page using the following markup...

<apex:dataList value="{!grouping}" var="grouping__c" id="theList">
<apex:outputText value="{!grouping__c.name}" styleclass="treeHeader"/>
</apex:dataList>


This currently works to populate a list of grouping names for the application "cod".  However I need to go deeper for categories, topics and then the directions (which is a custom field of topic).

The html needed to generate our menu looks like this...

<ul class="tree">
<dt class="treeHeader">Grouping</dt>
<li class="closed"><a href="#">Category 1</a>
<ul>
<li><a href="directions">Topic 1</a></li>
<li><a href="directions">Topic 2</a></li>
</ul>
</li>
</ul>

Unfortunately, I'm at a loss on how to generate this structure using visualforce and populate it with the data from our custom objects.  I would greatly appreciate any suggestions or assistance on how to successfully achieve the desired result.

Thanks.