0
메모 메일 본문에서 폴링을위한 단추를 만든 다음 투표를 위해 회원 그룹에 보냅니다. 사용자가 투표를하면 각 액션 스크립트에 대해 실행 보안 경고를받습니다. 다음은 예 버튼에있는 코드입니다.Lotus Notes에서 실행 보안 경고 방지하기
Dim session As New notessession
Dim ws As New notesuiworkspace
Dim db As notesdatabase
Dim doc_poll As NotesDocument
Set db = session.getDatabase("Server Name", "ApplicationTesting/Polling.nsf")
Set doc_poll = db.CreateDocument()
Dim uidoc As NotesUIDocument
Set uidoc = ws.CurrentDocument
Dim doc As notesdocument
Set doc = uidoc.Document
If doc.temp(0) <> "yes" Then
v_val= ws.Prompt(3,"Family member count","No of Members ?")
Call doc.ReplaceItemValue("temp","yes")
Call doc.Save(True,True)
Call doc.Sign
Call doc.Save(True,True)
doc_poll.Form = "Fo-PollReport"
Call doc_poll.ReplaceItemValue("etxtUserName", session.CommonUserName )
Call doc_poll.ReplaceItemValue("etxtMembers", Cint(v_val))
Call doc_poll.save(True,False)
Messagebox"Your voting has been sent to HR", 64,"Voting"
Else
Messagebox "Your voting is already been sent to HR. Please contact HR directly,in case of any change in voting ",16, "Voting"
End If
실행 보안 경고가 발생하지 않도록하려면 어떻게해야합니까?
보안 설정에서 어디에서 설정해야합니까? IIRC – shibu
주 문서는 여기에 있습니다. http://publib.boulder.ibm.com/infocenter/domhelp/v8r0/topic/com.ibm.help.domino.admin.doc/DOC/H_INITIAL_ADMINISTRATION_ECL.html. 또한 문서에서 관리 ECL 하위 섹션을 확인하십시오. 이는 정책 끝을 설명합니다. –