This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static Map<String, ID>recordType{ get { | |
if( recordType== null ) | |
{ | |
recordType = new Map<String, Id>(); | |
for(RecordType r : [Select r.SobjectType, r.Id, r.DeveloperName From RecordType r]) | |
{ | |
recordType.put(r.SobjectType+':'+r.DeveloperName, r.id); | |
} | |
} | |
return recordType; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public List<TrialManagement__c> getSelectedRecords() | |
{ | |
if(checked != null && checked) | |
{ | |
return new List<TrialManagement__c>{record}; | |
} | |
return null; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
var controlCheckboxes = function() | |
{ | |
if(jQuery(this).is(':checked')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select class="title required" id="WebKontaktTelefon2:AkademieSiteTemplate:WebmainHeader2:WebmainHeader2Cmp:WebKontaktTelefon:WebKontaktTelefonCmp:form:salutation" name="WebKontaktTelefon2:AkademieSiteTemplate:WebmainHeader2:WebmainHeader2Cmp:WebKontaktTelefon:WebKontaktTelefonCmp:form:salutation"><option value="">– Keine –</option><option value="Herr">Herr</option> | |
<option value="Frau">Frau</option> | |
</select> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var inputData = { | |
"groups": [ | |
{ | |
"trail": "a002000000Ep07J", | |
"adults": "2", | |
"children": "3" | |
}, | |
{ | |
"trail": "a002000000Ep07K", | |
"adults": "4", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | Setup | Develop | Pages | |
# VertragNewButton | |
# -> Clone | |
# Label << "ObjectName"+ NewButton und Name << Label | |
# StandardController ersetzen durch API Name von Object | |
# Save | |
# | Setup | Create | Objects | |
# Object Auswählen | |
# -> Standard Buttons and Links ->Edit New |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SObjectFillNameController | |
{ | |
ApexPages.StandardController stdController; | |
public SObjectFillNameController(ApexPages.StandardController controller) { | |
stdController = controller; | |
stdController.getRecord(); | |
} | |
public PageReference redirect() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page standardController="MyObject__c" extensions="SObjectFillNameController" action="{!redirect}"></apex:page> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{!REQUIRESCRIPT("/soap/ajax/26.0/connection.js")} | |
var records = {!GETRECORDIDS( $ObjectType.Region_Holiday__c )}; // API Record Name | |
if (records[0] == null) { | |
alert("Please select at least one record.") } | |
else { | |
var errors = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"label": "Werbung", "value": "Werbung", | |
"related": | |
[ | |
{ | |
"label" : "- keine -", | |
"value" : "" | |
}, | |
{ |
OlderNewer