Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V9.0 #189

Open
wants to merge 7 commits into
base: v9.0
Choose a base branch
from
Open

V9.0 #189

wants to merge 7 commits into from

Conversation

lukasbelak
Copy link

Hi @scottdurow,
As I promised, I push the webresource dependency support changes. Hopefully I am doing it right, I am a GitHub newbie.

Here is an example of spkl.json:

{
"webresources": [
{
"profile": "default,debug",
"root": "webresources/new_/",
"solution": "SpklTest",
"files": [
{
"uniquename": "new_/js/account.js",
"displayname": "new_/js/account.js",
"file": "js\account.js",
"description": "desc",
"dependencies": {
"libraries": [
{
"uniquename": "new_/js/dg.xrmquery.web.min.js",
"file": "js\dg.xrmquery.web.min.js",
"description": "desc",
"displayname": "new_/js/dg.xrmquery.web.min.js"
}
],
"attributes": [
{
"attributename": "accountid",
"entityname": "account"
}
]
}
}
]
}
]
}

I think the json itself it is self explanatory, but if you will have questions, do not hesitate to contact me, please.

Basically I made changes to 'deploy' and to 'download' webresources functionality.
Regarding deploy, I only add dependency libraries that are store in CRM, I do not compare what is included in spkl.json.
Regarding download, I do not updatae existing files in spkl.json, if there is for example new dependency library added manually in CRM for a particular webresource. This could be also added, it is your decision.

Please, have a look at the code and you can also share your comments, concerns, whatever with me. I also included few comments.
Thanks.

@scottdurow
Copy link
Owner

Can you merge this into the spkl_dev branch - then I'll get it pulled in and create a new beta release.

@e-gauthier
Copy link

Hello all,

Just want to ask what happend to this branch? Is it still in dev?

Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants