This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var node = people.getGroup("GROUP_ALFRESCO_ADMINISTRATORS"); | |
var members = people.getMembers(node); | |
print(members); | |
var user = people.getPerson("admin"); | |
print(user); | |
var isMember = members.indexOf(user); | |
print(isMember); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
name: "alfresco/lists/AlfList", | |
config: { | |
loadDataPublishTopic: "GET.....", | |
loadDataPublishPayload: { | |
siteId: siteId | |
}, | |
itemsProperty: "items", | |
widgets: [{ | |
name: "alfresco/lists/views/AlfListView", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{ | |
name: "mgs/widgets/forms/FilteringSelect", | |
widthPx: 600, | |
config: { | |
name: "mgs1_CourtDName", | |
label: "Суд 1-й инстанции", | |
value: "", | |
postWhenHiddenOrDisabled: false, | |
additionalCssClasses: "long", | |
optionsConfig: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-07-24 16:37:34,290 http-bio-8080-exec-7 ERROR admin 997x2576x1 1o2dqqb 172.17.33.61 /secure/CreateIssue.jspa [atlas.plugins.requestedfiedls.JsonHttpRunner] JsonHttpRunner::getData - error renderring | |
java.lang.IllegalArgumentException: Illegal character(s) in message header value: Basic YWRtaW46c21hcnR2bQ== | |
at sun.net.www.protocol.http.HttpURLConnection.checkMessageHeader(HttpURLConnection.java:507) | |
at sun.net.www.protocol.http.HttpURLConnection.isExternalMessageHeaderAllowed(HttpURLConnection.java:459) | |
at sun.net.www.protocol.http.HttpURLConnection.setRequestProperty(HttpURLConnection.java:3017) | |
at ru.andreymarkelov.atlas.plugins.requestedfiedls.util.HttpSender.call(HttpSender.java:71) | |
at ru.andreymarkelov.atlas.plugins.requestedfiedls.JsonHttpRunner.getData(JsonHttpRunner.java:31) | |
at sun.reflect.GeneratedMethodAccessor1247.invoke(Unknown Source) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO: Initializing ProtocolHandler ["http-bio-8081"] | |
May 10, 2016 12:34:19 PM org.apache.catalina.core.StandardService startInternal | |
INFO: Starting service Tomcat | |
May 10, 2016 12:34:19 PM org.apache.catalina.core.StandardEngine startInternal | |
INFO: Starting Servlet Engine: Apache Tomcat/7.0.47 | |
May 10, 2016 12:34:24 PM org.apache.catalina.startup.TaglibUriRule body | |
INFO: TLD skipped. URI: http://www.springframework.org/tags/surf is already defined | |
May 10, 2016 12:34:24 PM org.apache.catalina.core.ApplicationContext log | |
INFO: No Spring WebApplicationInitializer types detected on classpath | |
May 10, 2016 12:34:24 PM org.apache.catalina.core.ApplicationContext log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "alfresco/forms/DynamicForm", | |
"config": { | |
.... | |
"widgets": [{ | |
"name": "alfresco/forms/controls/Select", | |
"config": { | |
"name": "A", | |
"label": "A", | |
"fieldId": "PRESET_A", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<extension> | |
<modules> | |
<module> | |
<id>Customizing Alfresco Share Header</id> | |
<version>1.0</version> | |
<auto-deploy>true</auto-deploy> | |
<customizations> | |
<customization> | |
<targetPackageRoot>org.alfresco.share.header</targetPackageRoot> | |
<sourcePackageRoot>com.alvexcore.header</sourcePackageRoot> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Создаем переменные, в которые записываем значения полей с формы задачи: Номер счета, Компания, Сумма счета | |
var orderNum = task.getVariableLocal('lwf_orderNumber'); | |
var company = task.getVariableLocal('lwf_Company'); | |
var sum = task.getVariableLocal('lwf_amount'); | |
// Указываем шаблон документа по его nodeRef | |
var templateFile = search.findNode( "workspace://SpacesStore/262981fb-e141-43bd-ac63-9b8199eb1077" ); | |
// Выбираем каталог для сохранения нового документа | |
var folder = userhome; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Создание документа | |
var node = list.createNode(null, "alvexdt:agreement"); | |
// Генерация номера нового документа | |
node.properties["alvexdt:id"] = alvexRegistriesService.suggestNextNumber(list); | |
list.properties["alvexdr:inc"] = list.properties["alvexdr:inc"]+1; | |
list.properties["alvexdr:dayInc"] = list.properties["alvexdr:dayInc"]+1; | |
list.properties["alvexdr:monthInc"] = list.properties["alvexdr:monthInc"]+1; | |
list.properties["alvexdr:yearInc"] = list.properties["alvexdr:yearInc"]+1; | |
list.properties["alvexdr:quarterInc"] = list.properties["alvexdr:quarterInc"]+1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cont = site.getContainer('dataLists'); | |
var resultsList = search.luceneSearch('PARENT:"' + cont.nodeRef + '" AND @cm\:name:"Title of the destination list"'); | |
var list = resultsList[0]; |
NewerOlder