It can be done by calling “register_post_type()”
Month: April 2018
Finally deployed nodejs+express to azure
Finally deployed nodejs+express to azure, I failed a fews time using the examples https://docs.microsoft.com/en-us/azure/app-service/app-service-web-get-started-nodejs and https://docs.microsoft.com/en-us/azure/cloud-services/cloud-services-nodejs-develop-deploy-express-app . The easiest steps for me are: 1. Create the App service manually in Azure portal 2. Create you express 3. Ftp to the app service. 4. Download server.js , copy content from bin/www to it and modify “var […]
My default vscode setting
tslint.json
The hard part of developing assembler
One of the hardest part of developing assembler is to make your grammar correctly display the error message and pointing to the correct token.
Data analyst talk in HKU 2018/03/17
Data analyst talk in HKU 2018/03/17
a very good gitlab markdown sample
I like this syntax
use a style as a tag, love it
Token table is constructed by lexer, not parser
Netbeans Antlr Plugin’s Token table is constructed by lexer, not parser. So even your grammar is wrong, you still know what your text are being recognised into tokens.
We will launch quantr partner central soon
We will send out lot of free/cheap webpart to the market, we need a partner central for our partners to manage all license keys and deliver customer services. Here is some concept screens.
Netbeans outline plugin can parse antlr4 and cpp file
Netbeans outline plugin can parse antlr4 and cpp file now. Just press ‘ctrl+p’, it will be popup.
Antlr4 error listener can’t hit with non-exist token
Antlr error listen can’t hit with non-exist token, so my netbeans antlr plugin can’t highlight the non-exist token. The error listener is generated by official antlr4 grammar https://github.com/antlr/grammars-v4/tree/master/antlr4
SharePoint Online with webhocks
Thanks to MS tech community people, the webhocks solution is the key for SPfx to add remote event receiver function to SharePoint Online. https://github.com/SharePoint/sp-dev-fx-webparts/tree/master/samples/react-webhooks-realtime
Bimodal distribution
Studying Bimodal distribution, but don’t know what function can detect that in R
why one-column in SharePoint online is not full width
why one-column in SharePoint online is not full width? why one-column in SharePoint online has a fixed max-width and not adjustable? I don’t understand why Microsoft put such a hardcode setting
unsolved : site column does not refresh
When i redeploy my SharePonit spfx extension, the new site column name never refresh. I tried to delete the app and redeploy the app. Or even change the version number in package-solution.json. It is no hope. The steps i pack the sppkg file are: This issue is reported to github https://github.com/SharePoint/sp-dev-fx-webparts/issues/472
Microsoft doc is MAD for sharepoint spfx dev
Microsoft doc teach us to hard code the cdn path with tenant name, first, it is wrong, if we want to deploy our webpart to office365 cdn, just leave it as “cdnBasePath”: “” , see the below image. Second, even we follow the doc to hardcode the cdn path, it doesn’t work !!! See my […]
Microsoft doc wrong again for SharePoint spfx dev
See this
Office 365 cdn sometime is slow
Deployed a webpart to office 365, it pop out an error, it is just because office cdn is slow and the javascript is not updated yet. All we have to do is wait.
I am very good at developing SharePoint modern webpart now
I am very good at developing SharePoint modern webpart now, below is my learning curve for you to reference. I know nodejs 2 years ago but i didn’t take any commerical project for that, so my nodejs skill is not very hands-on. I spent two days to review everything i need to start nodejs programming. […]
icon will not distort in v1.4 sharepoint sdk
When you are creating modern webpart, you need to upgrade your node modules to v1.4 manually by “npm updated” and “npm install –save @microsoft/sp-build-web@latest”, icon will not distort in v1.4 sharepoint sdk now.
Just tried Powerapps to build form in SharePoint Online
My first impression is, powerapps doesn’t support safari and i am in mac. I found a few bugs. The form designer is fast but if compare the functionalities to Nintex or AgilePoint, it still lacks of advance features, such as custom javascript, custom layout.
Good morning AgilePoint
Training Wilson on Saturday morning to develop agilepart for v5. We can now develop it, but we have some unknown questions: 1. We can only create agilepart project in vs2010, but vs2010 failed to open it, then we use vs2017 to open and dev, it is wried. 2. Everytime we change code, we need to […]