• Skip column in PageBlockSectionAugust 27

    So I have too much padding between fields within a PageBlockSection. I have 3 columns, so to reduce the padding between fields I created 4 columns. How can I skip a column to force the next PageBlockSectionItem in a new row. <apex:pageBlockSection ti

  • How do I write a test class for trigger below, can't seem to get itAugust 27

    trigger PostCustTrip on New_Trip_Reports__c (after update) { For (New_Trip_Reports__c ntr :Trigger.new){ If (ntr.SubmitStatusCust__c == true){ FeedItem post = new FeedItem(); post.ParentId = '0F9K00000000Fb0'; post.Body = ntr.CustomerName__c; post.ti

  • ExactTarget / AMPscript return position value in array error: System.Data.DataRowAugust 27

    I have an array from where I need to retrieve specific positions values. I can see the whole array when I call it directly but when I call a position I receive this in ET: System.Data.DataRow AMPscript block: SET @M1_info_array = BuildRowsetFromStrin

  • SOQL query for related child informationAugust 26

    I'm trying to build a SOQL query to show the Name, Services and Contacts for accounts that have a relationship to a particular custom object, but I feel I'm missing something here: SELECT Name, ServiceAccountAssociation__r.Name, Account.Contact.Name

  • How to map the encrypted values which are coming from the external system with custom setting values in salesforce?August 26

    I have custom setting"CountryCodeMapping__c" to map the country values which has 2 fields, Salesforce_CoutryValue__c ExtSystem_CountryValue__c This custom setting has used in Apex class where we are mapping the country field with external system

  • Upgrade from 2.7.2 to 2.10.3 - stuck loginAugust 26

    I just went through the upgrade process from 2.7.2 to 2.10.3. Now when I try to login, the login page just refreshes. I've tried different browsers and restarting browsers. No error messages, just a page refresh. Anyone else run into this?

  • Problem Pulling Field Info Into PageAugust 26

    I'm having issues posting fields from individual entries to my sites pages. For example, I'm trying to post a form that changes based on the specific type of page that it's on (my Marketing Automation tool requires different information for each form

  • exp:channel:entries not working by any meansAugust 26

    I cannot get any queries to work using exp:channel:entries. {exp:channel:entries orderby="date" start_on="2015-07-01 20:00" channel="shipments" limit="10" dynamic="no"} <p>inloop</p> {/exp:chan

  • Field values getting replaced with admin email on save in 2.9.2August 26

    We have been running into a strange, intermittent issue on one of our client sites where field data is being replaced with the active admin's email address on save when editing entries. Entry types have included a Title field for a standard channel e

  • Adding items in a listAugust 26

    I wrote a function that adds items in a list, but my professor says to try and write it in a simpler way because he says I take too many steps. Is there any other way to write this? def additems(self, item): """Add <item> to this Prio

  • Seconds - Days, Hours, Minutes, and SecondsAugust 25

    This is just a simple function to convert seconds to days, hours, minutes and seconds for a larger app I'm going to be building. I'm just looking for thoughts on it. import math def convert_seconds(x): # Day's days = x / 86400 fraction, whole = math.

  • Optimize KnockoutJs Pagination Computed FunctionAugust 25

    I have written a function that builds an array of paging options for rendering on the view. I have modelled it after DataTables for jQuery, a live example with lots of data is available here: http://www.companieshousedata.co.uk/a/490 Is there a bette

  • Dealing with a lot of granular details for a modelAugust 25

    We have a model that represents an item for sale with a lot of attributes. They are mostly boolean columns like has_this_feature has_that_feature, a few with string values like color: red. There are also other details that are not details describing

  • Computing the divisor sum in bulk without division, multiplication or factorisation (SPOJ DIVSUM)August 25

    SPOJ problem #0074 DIVSUM - Divisor Summation requires computing the sums of proper divisors in bulk (200000 test cases, time limit 3 seconds): Given a natural number n (1 <= n <= 500000), please output the summation of all its proper divisors. Defi

  • GIS feature labeling and removal of None or Empty fieldsAugust 25

    I was using dictionary key:values but sometimes the keys would have the same value so my items were 'disappearing' out of the dictionary. Now I use this simple counter to group my values from a list (0,1) (2,3) (4,5). I think the if functions might b

  • Allowing internal employees to request suppliesAugust 25

    Business rules: This application is for internal employees to request supplies. All requests must be approved my the persons manager. In the database, a manager is an employee, with a self referencing key joining an employees managerid to the manager

  • Increase permutation calculation efficiencyAugust 25

    I have the following program running. It has so far been taking several days straight and has yet to finish. So, I'm just wondering if there is any way it can be optimized or better structured to reduce how long it takes to run (yes, I realize there'

  • Beginner PHP calculatorAugust 25

    I've spent the last few evenings learning PHP, CSS and HTML through Codecademy and now on Team Treehouse. My goal is to progress with PHP over the next year or two and perhaps obtain Zend cert. Anyway, I've worked on a simple calculator to test what

  • Team Fortress 2 item price lookup using Trade.tf developer API and Steam WebAPIAugust 24

    I've made a nice little Python program using the requests module using the Trade.tf Developer API and the Steam WebAPI allowing the user to look up the price of Team Fortress 2 items through Trade.tf's spreadsheet. For those of you that may not know,

  • Minimalist HyperScript implementationAugust 24

    I've tried to roll out my own HyperScript implementation. I would be interested in any suggestions to improve it or point me to any other better implementation which is still maintained. I checked the HyperScript project, but it doesn't seem to have

Copyright (C) 2016 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.789 s.