application name and apps script version - google-app-maker

how to change the application name created by appmaker.
I have got a dialog in published first page (image below).
but I want to change "Hello App Maker! (copy)"..
and where is apps script project connected appmaker?
I have not found in apps script dashboard.

You'll need to open the GCP Project. If you are doing a preview, then you'll have to click the link that says Server Logs, which is usually located on the bottom left:
If you want to do it on a deployed version, then you'll need to open the edit section of the deployment and click on VIEW LOGS:
Once you are taken to the GCP project, click the menu icon on the top right and select Project settings:
Finally, change the project name and click **SAVE*:*

Related

Azure deployment not showing view properly

After uploading my website off visual studio using Azure deployment, my site only shows what looks like my Shared Layout and not my views.
http://ideagendocument.azurewebsites.net/Account/Login
In my local deployment, it shows the login screen as it should. Why would it not be picking up any of my views or css?
Most likely, the reason is that these files are not included in the project.
Can you unload a project and then click "Edit project" and see if references are there?

Google Admin Directory API in Appmaker

After creating a directory datasource the Google Admin Directory API is automatically added to app settings. However the AdminDirectory object is not usable in server side appscript. Documentation for adding the AdminDirectory object to appscript in other apps suggests the api needs to be activated via the api console. There are unfortunately no links to the project at the console from the advanced section of the app settings. The user I am using developing this app with has MANY projects in the console any of which could be one created by appmaker. Is there a way to determine which project is the one the appmaker app is associated with? Is this even what I need to do to make the AdminDirectory object available in server side scripts?
I run some tests and you should be able to use the AdminDirectory object after adding a Directory Datasource to your App Maker application.
To test this I created a new app in App Maker and added a Directory Datasource. Then I created a Server script and used the code available in this Apps Script Admin Directory example https://developers.google.com/apps-script/advanced/admin-sdk-directory#list_all_users (*Note that for testing purposes, I used console.log instead of Logger.log)
Then in a new Page I added a Button widget and called the server script by using google.script.run in an onClick event in the Property Editor and I was able to get (console.log) the list of all users in my domain. Note that in order to call a server script, you will need to use google.script.run as explained here https://developers.google.com/appmaker/scripting/client#call_a_server_script
Try in AM editor App Settings -> Deployments, then expand deployment you need. There you will see 'View Logs' button. Clicking the button will open Google Cloud Console for your project.
By the way, you can access directory model by querying it:
var people = app.models.YourDirectoryModelName.newQuery().run();

How do i configure IIS7 for a website rather than a web application to be viewed through localhost?

I want to view my "website" through localhost. I dont want to click on the play button in Visual Studios. I know with "web application", i would need to place the published files into a particular directory ( normally C:\inetpub\wwwroot\ ) and then view the application through Localhost.
However, i believe this would be different for "websites". How is this done?
Just like a web application, you can put your website in a folder under c:\inetpub\wwwroot\, and browse to your site's URL. (For example, //localhost/mysite)
You could also open IIS Manager, right-click your website folder, select "Manage Application", and then click "Browse". You website will open in your default browser.

How to run web application in xp with VS2008

I have runned a web application
but it only show a directory
How to make a show a web page for debug in xp with visual studio 2008
first u open a new website.
then write codes on it and after that u just click the run button. then click the radio button - enable debugging. after that your website will be showed in browser.
When you start running a web app from Visual Studio, it will open the page you currently have open in Visual Studio. If you don't have a page open (eg. if you've got a class file open), it will just open the root directory.
You should be able to just type the page you want into the address bar and it will come up.
Failing that, in Visual Studio, right-click on the page you want to open and choose "View in Browser..."

Which assembly/DLL do I need in inetpub/wwwroot for launching aspx pages?

What do I have to add to c:\inetpub\wwwroot folder to serve aspx pages to browsers?
My webproject is in this folder but I think I'm missing something for running ASP.NET and ASP.NET MVC webpages.
Create Virtual Directories in IIS
Click Start, point to Programs, click to select Administrative Tools, and then click Internet Services Manager.
Expand the server name.
In the left pane, right-click Default Web Site, point to New, and then click Virtual Directory.
In the first screen of the Virtual Directory Creation Wizard, type an alias, or name, for the virtual directory (such as MyWebData), and then click Next.
In the second screen, click Browse. Locate the content folder that you created to hold the content. Click Next.
In the third screen, select Read and Run scripts (such as ASP). Make sure that the other check boxes are cleared. Click Finish to complete the wizard.
For ASP content, you may want to confirm that an application was created. To do this, right-click the new virtual directory, and then click Properties.
On the Virtual Directory tab, make sure that the virtual directory name is listed in the Application Name box under Application Settings. If it is not, click Create. Note that the application name does not have to match the virtual directory alias.
Close the Properties dialog box.

Resources