• Igor Morozov
  • NEWBIE
  • 38 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 1
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hai guys,
The repeater must use the <li> HTML list tag
The repeater must use the apex:outputLink component to link to the respective record detail page
HINT: Record detail pages can be reached by placing a record ID at the root of the URL (e.g. '/<record id>').
how can i achieve it.
my vf page code is
<apex:page standardController="Account" recordSetVar="accounts">
  <apex:form >
  <apex:repeat value="{!accounts}" var="a">
 
  
 <li> <apex:outputLink value="/apex/AccountList?id=00128000005LpU9">
  
  {!Account.Name}
  
  </apex:outputLink>
</li>
  </apex:repeat>
  
  
  </apex:form>
</apex:page>
can any one help me
Trying to add a button that creates records utilizing this method:
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/ref_force_createRecord.htm

It appears salesforce uses the Moment JS library in regards to the event object and it is causing an error on modal creation when the button is clicked. 

The error throws in libraries and name of it: force:calendarLibrary.js. If you open this file in developer console in chrome, then you can click on { } button to see it in formatted way, then you need line 197. Small video demonstration:
https://www.screencast.com/t/gFJ9K0Ah 

Stack Trace:
Error is happening in sf js, this stack trace of the error "Object.toUserTime()@https://ffcommdemo-developer-edition.na30.force.com/libraries/force:calendarLibrary.js:9:553
Object.writeStartDateTimeToActivityDate()@https://ffcommdemo-developer-edition.na30.force.com/libraries/force:calendarLibrary.js:55:262
Object.init()@https://ffcommdemo-developer-edition.na30.force.com/libraries/force:calendarLibrary.js:61:407
onInit()@https://ffcommdemo-developer-edition.na30.force.com/components/sfa/eventDateTime.js:1:508" 

Appears to be an error in Moment.Js library being used
https://github.com/moment/moment-timezone/issues/468