Giter Club home page Giter Club logo

Comments (11)

amtrack avatar amtrack commented on June 11, 2024 1

@twhitesides Good catch! Thanks for reporting!

The Contribution Guide was missing the step to build the plugin:

I've now update the docs: #509

from sfdx-browserforce-plugin.

twhitesides avatar twhitesides commented on June 11, 2024

Thank you! I appreciate it. I was able to move farther. However, I seem to be stuck again if you wouldn't mind taking a look. I can't seem to figure out the pattern to the selectors. For Opp Splits I'm trying to select a button with HTML like:
<input id="j_id0:form:EditButton" type="submit" name="j_id0:form:EditButton" value="Set up Opportunity Splits" class="btn button">
What would be the pattern for that?

from sfdx-browserforce-plugin.

amtrack avatar amtrack commented on June 11, 2024

@twhitesides It depend on wether you use Salesforce Classic or Lightning Experience:

UI URL path Selector
Salesforce Classic opp/opportunitySplitSetupLanding.apexp input[id$=":form:EditButton"]
Salesforce Lightning Experience lightning/setup/OpportunitySplitSetup/home pierce/force-aloha-page iframe[name^=vfFrameId], iframe[name^=vfFrameId], input[id$=":form:EditButton"]

from sfdx-browserforce-plugin.

twhitesides avatar twhitesides commented on June 11, 2024

Thanks for your answer. I am not sure if I am doing something wrong or if, due to this particular interface being quite outdated and a mix of Lightning and Classic, this one will work differently. I have been trying for a few hours but it cannot find the selector.

from sfdx-browserforce-plugin.

amtrack avatar amtrack commented on June 11, 2024

@twhitesides It seems to have worked for me. Did you manually enable Setup > Opportunity Team Settings > Enable Team Selling in your Scratch Org?
That was a prerequisite for me to make the Setup Page for Opportunity Splits available.

from sfdx-browserforce-plugin.

twhitesides avatar twhitesides commented on June 11, 2024

Thanks for checking. I did have that enabled and was using debug to be certain it was getting to the same page. Oddly enough I was able to get this working once through recording a faked set of mimicking tab and enter keys, but it only worked once on one org. If you cared to share I would love to know how you got things working, I seem to be unable to do so.

from sfdx-browserforce-plugin.

amtrack avatar amtrack commented on June 11, 2024

@twhitesides I've implemented the wizard without applying any further configuration or handling of errors: #524
Feel free to take this as a kickstart.

from sfdx-browserforce-plugin.

whitesidest avatar whitesidest commented on June 11, 2024

Thank you so much for your effort, and apologies for the delay in reply. This seems to work very well. Is there anything that I could contribute to in order to help this get merged into core for more people to benefit from?

from sfdx-browserforce-plugin.

amtrack avatar amtrack commented on June 11, 2024

@whitesidest I was assuming there might be some more settings needed to be implemented.
If you confirm that the enablement - as implemented - is already sufficient, then I'll finalize and merge the PR.

from sfdx-browserforce-plugin.

whitesidest avatar whitesidest commented on June 11, 2024

It works perfectly in tests I try. I'm delighted with it. Thank you again.

from sfdx-browserforce-plugin.

github-actions avatar github-actions commented on June 11, 2024

🎉 This issue has been resolved in version 2.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

from sfdx-browserforce-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.