When a WCF/REST or JSON service is created in Visual Studio with helpEnabled="true" in the web config, there will be a URL similar to "https://Server/Service/ServiceREST.svc/help". IIS will present a help page - see enclosed example.
I'm looking to modify this page, I want to exclude some lines.
Does anyone know how, or if that is possible?
According to your description, I would like to tell you that the help page of WCF WebHttp endpoint cannot be modified, and in fact there is no property or configuration to control it. You can replace it with your own custom page, but this requires writing a lot of code according to your needs. You can read about the schemas used in the WCF Web HTTP Services help page through this document.
Related
We are implementing Google Tag Manager in our web site. The site is an ASP.NET Web Forms site. It seems to me that the optimal way to implement this is to insert the Google code in Site.Master.aspx - is this correct, or is there a better way?
Thanks!
For our webforms site, we put our tag manager code in the master page, both in order to ensure that the code is in the right place (at the very beginning of the body tag) and also to easily get it loaded onto every page. Unless you have some unusual circumstance I think that seems most logical to me.
I'm wondering if it's possible to configure field edtiable state (and other associated view layout information) via code, rather than via the Strapi Web UI?
e.g. In Strapi you can customise a view, and these settings are written to the core_store database table into a json object keyed as plugin_content_manager_configuration_content_types::application::video.video
When making this change via the web UI, no code is changed on the filesystem. So it's all in the database.
We're hoping to configure some of these settings via code, especially controlling if a field is editable or not.
Is this possible?
When the app starts the browser makes a request to http://localhost:1337/content-manager/content-types/application::video.video (for the video content type) and this returns some metadatas such as:
I've poked around in the node_modules/strapi-plugin-content-manager/ to try see if there's a way to modify this data but I'm in over my head.
Any pointers appreciated, thanks!
I’m not sure what you need, but here are some links to strapi documentation, which gives examples to change default behavior.
Content editor:
https://strapi.io/documentation/3.0.0-beta.x/guides/slug.html#configure-the-layout-for-the-content-editor
https://strapi.io/documentation/3.0.0-beta.x/guides/custom-admin.html#introduction
Custom data response:
https://strapi.io/documentation/3.0.0-beta.x/guides/custom-data-response.html
I believe you can customize strapi a lot, it just might take some time to understand the system.
http://wopi.readthedocs.io/en/latest/build_test_ship/validator.html
As per this documentation, we need to build some HTML host page.
In this document, they mention one point that I didn't understand completely
The simplest way to use the validation application is to use the view
action. To use the view action hosts should treat .wopitest files the
same way other Office documents are treated. In other words, hosts
should do the following:
Launch a host page pointed at the .wopitest file. Ideally, this should
be the same host page used to host regular Office Online sessions.
This will allow the validation application to test things like
PostMessage and do some validation on the way the Office Online iframe
was loaded.
What is .wopitest file and what I need to do exactly, Can anyone please guide me ? please explain stepwise
They mean that you have to call that action in the same way you call any other action (looking for the action url in the discovery, etc.).
For example, when you want to open a .docx for view, you look into the discovery.xml and you find that you have to call https://word-view.officeapps-df.live.com/wv/wordviewerframe.aspx?", and of course you must have ready the Rest services for that action (checkFileInfo, etc.) and the WOPISrc pointing to a file that in fact is a .docx . Well, for the validation application is exactly the same, but you should call to WopiTest app instead of Word app (inside the discovery) and your generated WOPISrc should point to a file called "xxxx.wopitest" instead "xxxx.docx". That's it! ;)
I'm just starting to play around with Orchard CMS. I like what I see so far, but I need to be able to create pages that display record details for data stored in another system. Does any one know if that is possible?
I have a SQL Server database that hold real estate property record information. This information gets displayed on the web. On that same website are informational content pages (FAQs, Contact Us, Home, etc...) What I would like to to is leverage the CMS portion of Orchard for the content pages. Then I would like to write a module using the Orchard that would get the real estate info, allow users to search parcels, and display detail pages for each parcel.
If you view the site http://www.sc-pa.com/search you can search by last name "smith" and select one record. That may help illustrate what I need Orchard to do.
Yes, that is possible, but your scenario is way too vague to get into any specifics. Can you elaborate on exactly what you are trying to do: what does the external data look like, where is it stored, how do you want to integrate it into Orchard, do you need any integration with content types and parts, or with search, etc.
One alternative is to expose ur data as web service or odata endpoint and then use jquery to do asynch call to get json data. Then ur home free.
Create a page and put the javascript in that or include a ref to js file.
I have a custom web applet that I am adding to the Lead object tab of my Oracle CRM On Demand app. It is easy to include a variable in the URL via the %%%VARIABLE_NAME%%% convention but that seems to only work with the object itelse (Lead, Service Request, etc) Since the field I want to add is part of a different object (the User) it doesnt seem to be working.
Any help on how to add this would be greatly appreciated.
Here it talks about custom web applets, and under Fields it talks about adding a variable:
http://download.oracle.com/docs/cd/E14388_01/books/OnDemOLH/index.htm?toc.htm?creatingcwa.html
I got a definitive "not possible" from an oracle web service developer on this issue.
So turns out that in a custom web applet for one object you cannot have custom fields from other objects.
My work-around is to pass the unique userid %%%User id%%% back to my app and work from there.