Timeline for If statement fails in Onclick javascript button
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 24, 2016 at 7:20 | vote | accept | Testing_SFDC | ||
Nov 24, 2016 at 7:18 | history | edited | Testing_SFDC | CC BY-SA 3.0 |
added 38 characters in body
|
Nov 24, 2016 at 7:18 | answer | added | RCS | timeline score: 2 | |
Nov 24, 2016 at 7:16 | comment | added | RCS | can you please add console.log for sforce.apex.execute("CheckAOCAccess","AOCAccess",{LoggedUser:"{!User.Id}"}); and check what exactly the value is returned. | |
Nov 24, 2016 at 7:13 | comment | added | Testing_SFDC | In case where check value is true, it should only execute window.open(vUrl) and stop. But it goes to else block. That's the problem. | |
Nov 24, 2016 at 7:08 | comment | added | Reshma | I don't see any issue with your code. | |
S Nov 24, 2016 at 6:52 | history | suggested | Reshma | CC BY-SA 3.0 |
Put code in code block
|
Nov 24, 2016 at 6:51 | review | Suggested edits | |||
S Nov 24, 2016 at 6:52 | |||||
Nov 24, 2016 at 6:49 | review | Suggested edits | |||
Nov 24, 2016 at 6:51 | |||||
S Nov 24, 2016 at 6:48 | history | edited | martin | CC BY-SA 3.0 |
Put code in code block
|
S Nov 24, 2016 at 6:48 | history | suggested | Reshma | CC BY-SA 3.0 |
Put code in code block
|
Nov 24, 2016 at 6:47 | review | Suggested edits | |||
S Nov 24, 2016 at 6:48 | |||||
Nov 24, 2016 at 6:43 | history | asked | Testing_SFDC | CC BY-SA 3.0 |