Need help with ADF

cancel
Showing results for 
Search instead for 
Did you mean: 
eugenio_romano
Alfresco Employee

Re: Need help with ADF

Those files are for different scenarios.In the documentation is explained depends if you are using the angular cli or webpack.

0.0.0.0 should be fine I just tried on my environment. If you press on the top right corner over the setting blu button. Can you post here the URL configured there?

ramprasad
Member II

Re: Need help with ADF

eugenio_romano
Alfresco Employee

Re: Need help with ADF

Can you configure this two address with:

Ecm: http://localhost:3000/ecm 

Bpm: http://localhost:3000/bpm 

with the address that is currently in your settings, you are not going to hit the proxy but you are hitting directly the BE.

ramprasad
Member II

Re: Need help with ADF

I tried to apply the changes, does not work

While updating the info the system complained that the URL is incorrect. I have turned off APS. Using only ACS. I can log in directly to ACS using the regular URL and port 8080. However with the above values it comes back with "You have entered an invalid username or password"

eugenio_romano
Alfresco Employee

Re: Need help with ADF

is your project on a GIT repo accessible?

ramprasad
Member II

Re: Need help with ADF

Local instance. Have not configured any GIT

eugenio_romano
Alfresco Employee

Re: Need help with ADF

can you share with me the configuration of yours:

app.config-dev.json

app.config-prod.json

ramprasad
Member II

Re: Need help with ADF

Dev COnfiguration:

{
"ecmHost": "http://{hostname}:{port}/ecm",
"bpmHost": "http://{hostname}:{port}/bpm",
"application": {
"name": "Alfresco"
},
"pagination": {
"size": 25
},
"files": {
"excluded": [".DS_Store", "desktop.ini", ".git"]
},
"activiti": {
"rest": {
"fields": [
{
"processId": "0",
"taskId": "7501",
"fieldId": "label10",
"values": [
{ "id": "f1", "name": "Field 1" },
{ "id": "f2", "name": "Field 2" },
{ "id": "f3", "name": "Field 3" }
]
}
]
}
}
}

Prod Config file

{
"ecmHost": "http://127.0.0.1:8080",
"bpmHost": "http://127.0.0.1:9999",
"application": {
"name": "Alfresco"
},
"pagination": {
"size": 25
},
"files": {
"excluded": [".DS_Store", "desktop.ini", ".git"]
},
"activiti": {
"rest": {
"fields": [
{
"processId": "0",
"taskId": "7501",
"fieldId": "label10",
"values": [
{ "id": "f1", "name": "Field 1" },
{ "id": "f2", "name": "Field 2" },
{ "id": "f3", "name": "Field 3" }
]
}
]
}
}
}

eugenio_romano
Alfresco Employee

Re: Need help with ADF

which command do you use to start the server?

ramprasad
Member II

Re: Need help with ADF

Alfresco Content Service - using the run file

ADF by using: npm start