Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.