How do I produce a “New” record button to look like a standard “New” button?
up vote
3
down vote
favorite
Basically I want to create an input area for a new record. I'm trying to get it styled like the standard "New" Button. I have tried doing it via Visualforce but it looks like a completely separate entity.
Before I continue I just want clarification on the best method to use?
Should I stick with Visualforce or figure out how to create Lightning Components?
I find Visualforce much easier to produce and get working but it's nowhere as pretty as lightning components.
The data aspect of Lightning Components I find hard to deal with (all the back end wiring/coding).
Do I have to use the Lightning Data Service with Components or can I use a standard controller like in VF?
This is the standard "New" Layout.
This Is The Visualforce Layout I Created.
This Is The Lightning Component I Made.
Summary Of Questions:-
- Should I stick with Visualforce or figure out how to create Lightning Component? What's the key differences and the future method to be using?
- Do I have to use the Lightning Data Service with Lightning Components or can I use a standard controller like in VF?
- Any clear and easy guides to follow in reference to Lightning Data Service and Javascript Handles.
visualforce lightning-components lightning lightning-design-system modal
add a comment |
up vote
3
down vote
favorite
Basically I want to create an input area for a new record. I'm trying to get it styled like the standard "New" Button. I have tried doing it via Visualforce but it looks like a completely separate entity.
Before I continue I just want clarification on the best method to use?
Should I stick with Visualforce or figure out how to create Lightning Components?
I find Visualforce much easier to produce and get working but it's nowhere as pretty as lightning components.
The data aspect of Lightning Components I find hard to deal with (all the back end wiring/coding).
Do I have to use the Lightning Data Service with Components or can I use a standard controller like in VF?
This is the standard "New" Layout.
This Is The Visualforce Layout I Created.
This Is The Lightning Component I Made.
Summary Of Questions:-
- Should I stick with Visualforce or figure out how to create Lightning Component? What's the key differences and the future method to be using?
- Do I have to use the Lightning Data Service with Lightning Components or can I use a standard controller like in VF?
- Any clear and easy guides to follow in reference to Lightning Data Service and Javascript Handles.
visualforce lightning-components lightning lightning-design-system modal
add a comment |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
Basically I want to create an input area for a new record. I'm trying to get it styled like the standard "New" Button. I have tried doing it via Visualforce but it looks like a completely separate entity.
Before I continue I just want clarification on the best method to use?
Should I stick with Visualforce or figure out how to create Lightning Components?
I find Visualforce much easier to produce and get working but it's nowhere as pretty as lightning components.
The data aspect of Lightning Components I find hard to deal with (all the back end wiring/coding).
Do I have to use the Lightning Data Service with Components or can I use a standard controller like in VF?
This is the standard "New" Layout.
This Is The Visualforce Layout I Created.
This Is The Lightning Component I Made.
Summary Of Questions:-
- Should I stick with Visualforce or figure out how to create Lightning Component? What's the key differences and the future method to be using?
- Do I have to use the Lightning Data Service with Lightning Components or can I use a standard controller like in VF?
- Any clear and easy guides to follow in reference to Lightning Data Service and Javascript Handles.
visualforce lightning-components lightning lightning-design-system modal
Basically I want to create an input area for a new record. I'm trying to get it styled like the standard "New" Button. I have tried doing it via Visualforce but it looks like a completely separate entity.
Before I continue I just want clarification on the best method to use?
Should I stick with Visualforce or figure out how to create Lightning Components?
I find Visualforce much easier to produce and get working but it's nowhere as pretty as lightning components.
The data aspect of Lightning Components I find hard to deal with (all the back end wiring/coding).
Do I have to use the Lightning Data Service with Components or can I use a standard controller like in VF?
This is the standard "New" Layout.
This Is The Visualforce Layout I Created.
This Is The Lightning Component I Made.
Summary Of Questions:-
- Should I stick with Visualforce or figure out how to create Lightning Component? What's the key differences and the future method to be using?
- Do I have to use the Lightning Data Service with Lightning Components or can I use a standard controller like in VF?
- Any clear and easy guides to follow in reference to Lightning Data Service and Javascript Handles.
visualforce lightning-components lightning lightning-design-system modal
visualforce lightning-components lightning lightning-design-system modal
edited 4 hours ago
Adrian Larson♦
104k19111234
104k19111234
asked 4 hours ago
Daniel Bleasdale
266
266
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
Should I stick with Visualforce or figure out how to create Lightning Component? What's the key differences and the future method to be using?
Answer: Lightning is the way forward, Salesforce is pitching it with Blood Sweat and tears to make everyone adopt it. Building in lightning would be like futureproofing your application. The key difference between VF and lightning is the VIEW-STATE. VF manages the state of the Controller Variable in encrypted Hidden Input Field and that state is transferred to and fro to your apex controller. In Lightning, it's your responsibility to maintain state and you use Stateful Client and Stateless Server ideology. In short, you store the values you would need in aura:attribute and then transfer it later to Apex for further processing.
Do I have to use the Lightning Data Service with Lightning Components or can I use a standard controller like in VF?
Answer: Lightning data Services and Base Lightning Components are the lightning equivalent of VF standard controller. You cannot use VF standard controller in Lightning,
Any clear and easy guides to follow in reference to Lightning Data Service and Javascript Handles.
Answer: Trailhead is your best friend here. It has good examples of using lightning standard controllers and how to handler events to make complex UI.
Src: https://trailhead.salesforce.com/en/content/learn/projects/workshop-lightning-programmatic/use-lightning-recordform
http://peterknolle.com/lightning-record-edit-form/
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
Should I stick with Visualforce or figure out how to create Lightning Component? What's the key differences and the future method to be using?
Answer: Lightning is the way forward, Salesforce is pitching it with Blood Sweat and tears to make everyone adopt it. Building in lightning would be like futureproofing your application. The key difference between VF and lightning is the VIEW-STATE. VF manages the state of the Controller Variable in encrypted Hidden Input Field and that state is transferred to and fro to your apex controller. In Lightning, it's your responsibility to maintain state and you use Stateful Client and Stateless Server ideology. In short, you store the values you would need in aura:attribute and then transfer it later to Apex for further processing.
Do I have to use the Lightning Data Service with Lightning Components or can I use a standard controller like in VF?
Answer: Lightning data Services and Base Lightning Components are the lightning equivalent of VF standard controller. You cannot use VF standard controller in Lightning,
Any clear and easy guides to follow in reference to Lightning Data Service and Javascript Handles.
Answer: Trailhead is your best friend here. It has good examples of using lightning standard controllers and how to handler events to make complex UI.
Src: https://trailhead.salesforce.com/en/content/learn/projects/workshop-lightning-programmatic/use-lightning-recordform
http://peterknolle.com/lightning-record-edit-form/
add a comment |
up vote
3
down vote
accepted
Should I stick with Visualforce or figure out how to create Lightning Component? What's the key differences and the future method to be using?
Answer: Lightning is the way forward, Salesforce is pitching it with Blood Sweat and tears to make everyone adopt it. Building in lightning would be like futureproofing your application. The key difference between VF and lightning is the VIEW-STATE. VF manages the state of the Controller Variable in encrypted Hidden Input Field and that state is transferred to and fro to your apex controller. In Lightning, it's your responsibility to maintain state and you use Stateful Client and Stateless Server ideology. In short, you store the values you would need in aura:attribute and then transfer it later to Apex for further processing.
Do I have to use the Lightning Data Service with Lightning Components or can I use a standard controller like in VF?
Answer: Lightning data Services and Base Lightning Components are the lightning equivalent of VF standard controller. You cannot use VF standard controller in Lightning,
Any clear and easy guides to follow in reference to Lightning Data Service and Javascript Handles.
Answer: Trailhead is your best friend here. It has good examples of using lightning standard controllers and how to handler events to make complex UI.
Src: https://trailhead.salesforce.com/en/content/learn/projects/workshop-lightning-programmatic/use-lightning-recordform
http://peterknolle.com/lightning-record-edit-form/
add a comment |
up vote
3
down vote
accepted
up vote
3
down vote
accepted
Should I stick with Visualforce or figure out how to create Lightning Component? What's the key differences and the future method to be using?
Answer: Lightning is the way forward, Salesforce is pitching it with Blood Sweat and tears to make everyone adopt it. Building in lightning would be like futureproofing your application. The key difference between VF and lightning is the VIEW-STATE. VF manages the state of the Controller Variable in encrypted Hidden Input Field and that state is transferred to and fro to your apex controller. In Lightning, it's your responsibility to maintain state and you use Stateful Client and Stateless Server ideology. In short, you store the values you would need in aura:attribute and then transfer it later to Apex for further processing.
Do I have to use the Lightning Data Service with Lightning Components or can I use a standard controller like in VF?
Answer: Lightning data Services and Base Lightning Components are the lightning equivalent of VF standard controller. You cannot use VF standard controller in Lightning,
Any clear and easy guides to follow in reference to Lightning Data Service and Javascript Handles.
Answer: Trailhead is your best friend here. It has good examples of using lightning standard controllers and how to handler events to make complex UI.
Src: https://trailhead.salesforce.com/en/content/learn/projects/workshop-lightning-programmatic/use-lightning-recordform
http://peterknolle.com/lightning-record-edit-form/
Should I stick with Visualforce or figure out how to create Lightning Component? What's the key differences and the future method to be using?
Answer: Lightning is the way forward, Salesforce is pitching it with Blood Sweat and tears to make everyone adopt it. Building in lightning would be like futureproofing your application. The key difference between VF and lightning is the VIEW-STATE. VF manages the state of the Controller Variable in encrypted Hidden Input Field and that state is transferred to and fro to your apex controller. In Lightning, it's your responsibility to maintain state and you use Stateful Client and Stateless Server ideology. In short, you store the values you would need in aura:attribute and then transfer it later to Apex for further processing.
Do I have to use the Lightning Data Service with Lightning Components or can I use a standard controller like in VF?
Answer: Lightning data Services and Base Lightning Components are the lightning equivalent of VF standard controller. You cannot use VF standard controller in Lightning,
Any clear and easy guides to follow in reference to Lightning Data Service and Javascript Handles.
Answer: Trailhead is your best friend here. It has good examples of using lightning standard controllers and how to handler events to make complex UI.
Src: https://trailhead.salesforce.com/en/content/learn/projects/workshop-lightning-programmatic/use-lightning-recordform
http://peterknolle.com/lightning-record-edit-form/
answered 4 hours ago
Pranay Jaiswal
12.6k32251
12.6k32251
add a comment |
add a comment |
Thanks for contributing an answer to Salesforce Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f242135%2fhow-do-i-produce-a-new-record-button-to-look-like-a-standard-new-button%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown