콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5457 화면

How to create a server action on website ?

"Available on the Website" field value are true on server action.

Can anybody help me on server actions ?


아바타
취소
베스트 답변

Hello @Jar,

You can create server action on website side. To do you need to do following things.

- Create server action and check "Available on the Website"

- Then you will find new text field "Website Path" so enter your action name you want to perform like "extra_info"

- Now save the record it will give you value in "Website URL" like "<hostname>/website/action/extra_info"

Now here website/action/extra_info is your controller so what ever you need to perform python in server action it will come under this controller so that you can use it in for ex. javascript.


Let me know if you need more info

아바타
취소

Hi @Ronak thanks for the answer, could you explain the last step more with some example, thanks again!

관련 게시물 답글 화면 활동
2
8월 24
1516
0
1월 25
1406
2
6월 23
1787
0
5월 23
1842
1
4월 23
32166