• PaulT
  • NEWBIE
  • 25 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 3
    Replies
The sfdx plugin system doesn't seem to be working correctly, confirmed by a colleague.

When trying to run the default hello:org command this is the error produced:

src/commands/hello/org.ts(11,22): error TS2417: Class static side 'typeof Org' incorrectly extends base class static side 'typeof SfdxCommand'.
 Types of property 'flagsConfig' are incompatible.
   Type '{ name: IOptionFlag<string>; force: IBooleanFlag<boolean>; }' is not assignable to type 'SfdxFlagsConfig'.
     Property 'name' is incompatible with index signature.
       Type 'IOptionFlag<string>' is not assignable to type 'string | boolean | IBooleanFlag<any> | JsonMap | IOptionFlag<any>'.
         Type 'IOptionFlag<string>' is not assignable to type 'IOptionFlag<any>'.
           Type 'IOptionFlag<string>' is not assignable to type '{ completion?: ICompletion; }'.
             Types of property 'completion' are incompatible.
               Type 'ICompletion' is not assignable to type 'ICompletion'. Two different types with this name exist, but they are unrelated.
                 Types of property 'cacheKey' are incompatible.
                   Type '(ctx: ICompletionContext) => Promise<string>' is not assignable to type '(ctx: ICompletionContext) => Promise<string>'. Two different types with this name exist, but they are unrelated.
                     Types of parameters 'ctx' and 'ctx' are incompatible.
                       Type 'ICompletionContext' is not assignable to type 'ICompletionContext'. Two different types with this name exist, but they are unrelated.
                         Types of property 'config' are incompatible.
                           Type 'IConfig' is not assignable to type 'IConfig'. Two different types with this name exist, but they are unrelated.
                             Property 'channel' is missing in type 'IConfig'.
error Command failed with exit code 2.
  • June 14, 2018
  • Like
  • 0
After an answer regarding this component being used in Lightning Out, I got one step further before hitting another roadblock.

To be able to use this component, we're having to use the strike_select component and add the value before the component calls the server.

However, the fields property of the onsubmit method is undefined so there's nothing to add to, as well as a generic error which I'm yet to narrow down.

Many thanks,
Paul

Is there a way around this so that we can take advantage of these new components?
  • March 12, 2018
  • Like
  • 0
The recordEditForm and recordViewForm, while not supported in Lightning Out, do work apart from two errors, neither of which appear to affect the functionality.

Is there any way of preventing these error from displaying so that we can use these components?

The steps to reproduce this: https://github.com/paulroberttaylor/lightning-out-recordeditform
  • March 11, 2018
  • Like
  • 0
Hi,

I created a new non-private list view for an object, and when doing a source:pull, the new list view is not returned.
I copied an existing 'All' list view, renamed it, then did a source:push.  The new list view is visible on the object.

Can list views not be pulled, only pushed?

Thanks
  • November 12, 2017
  • Like
  • 0
Hi,

I building some functionality in a Lightning Out app and receive this error when using force:recordData with a custom object:

"You don't have access to this record. Ask your administrator for help or to request access."

Is force:recordData available to use in Lightning Out?

Thanks
  • November 09, 2017
  • Like
  • 0
The sfdx plugin system doesn't seem to be working correctly, confirmed by a colleague.

When trying to run the default hello:org command this is the error produced:

src/commands/hello/org.ts(11,22): error TS2417: Class static side 'typeof Org' incorrectly extends base class static side 'typeof SfdxCommand'.
 Types of property 'flagsConfig' are incompatible.
   Type '{ name: IOptionFlag<string>; force: IBooleanFlag<boolean>; }' is not assignable to type 'SfdxFlagsConfig'.
     Property 'name' is incompatible with index signature.
       Type 'IOptionFlag<string>' is not assignable to type 'string | boolean | IBooleanFlag<any> | JsonMap | IOptionFlag<any>'.
         Type 'IOptionFlag<string>' is not assignable to type 'IOptionFlag<any>'.
           Type 'IOptionFlag<string>' is not assignable to type '{ completion?: ICompletion; }'.
             Types of property 'completion' are incompatible.
               Type 'ICompletion' is not assignable to type 'ICompletion'. Two different types with this name exist, but they are unrelated.
                 Types of property 'cacheKey' are incompatible.
                   Type '(ctx: ICompletionContext) => Promise<string>' is not assignable to type '(ctx: ICompletionContext) => Promise<string>'. Two different types with this name exist, but they are unrelated.
                     Types of parameters 'ctx' and 'ctx' are incompatible.
                       Type 'ICompletionContext' is not assignable to type 'ICompletionContext'. Two different types with this name exist, but they are unrelated.
                         Types of property 'config' are incompatible.
                           Type 'IConfig' is not assignable to type 'IConfig'. Two different types with this name exist, but they are unrelated.
                             Property 'channel' is missing in type 'IConfig'.
error Command failed with exit code 2.
  • June 14, 2018
  • Like
  • 0
We are trying to automate regression testing using Selenium web driver. Issue we are facing is that element Ids are getting randomly generated and Selenium is not able to identify elements.
We have tried putting unique Ids using aura:id for such elements but still these Ids are not coming up in console.
Classes are getting generated randomly.
XPATH is also not working.
Hi,

I created a new non-private list view for an object, and when doing a source:pull, the new list view is not returned.
I copied an existing 'All' list view, renamed it, then did a source:push.  The new list view is visible on the object.

Can list views not be pulled, only pushed?

Thanks
  • November 12, 2017
  • Like
  • 0